Package com.nhn.gameanvil.registry
Enum Class ServiceInfoMap
- All Implemented Interfaces:
Serializable
,Comparable<ServiceInfoMap>
,Constable
서비스 아이디 invalid input: '<' - > 이름을 관리하는 클래스
이 클래스는 다음 릴리즈에서 삭제될 수 있음
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionint
getServiceId
(String serviceName) 서비스 이름으로 서비스 아이디를 가져 온다getServiceName
(int serviceId) 서비스 아이디로 서비스 이름을 가져온다void
setServiceId
(int serviceId, String serviceName) 서비스 이름에 맞는 서비스 아이디를 등록static ServiceInfoMap
Returns the enum constant of this class with the specified name.static ServiceInfoMap[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
setServiceId
서비스 이름에 맞는 서비스 아이디를 등록 특별한 이유가 없을 때는 이 메서드롤 호출하지 말 것 설정 로드 시 자동으로 호출됨 이 메서드는 다음 릴리즈에서 삭제될 수 있음- Parameters:
serviceId
- 서비스 아이디serviceName
- 서비스 이름
-
getServiceName
서비스 아이디로 서비스 이름을 가져온다 이 메서드는 다음 릴리즈에서 삭제될 수 있음- Parameters:
serviceId
- 서비스 아이디- Returns:
- 서비스 이름, 없는 아이디 일때는 빈 문자열("")
-
getServiceId
서비스 이름으로 서비스 아이디를 가져 온다 이 메서드는 다음 릴리즈에서 삭제될 수 있음- Parameters:
serviceName
- 서비스 이름- Returns:
- 서비스 아이디, 없는 이름일 때는 -1
-