Enum Class ServiceInfoMap

java.lang.Object
java.lang.Enum<ServiceInfoMap>
com.nhn.gameanvil.registry.ServiceInfoMap
All Implemented Interfaces:
Serializable, Comparable<ServiceInfoMap>, Constable

@Experimental public enum ServiceInfoMap extends Enum<ServiceInfoMap>
서비스 아이디 invalid input: '<' - > 이름을 관리하는 클래스

이 클래스는 다음 릴리즈에서 삭제될 수 있음

  • Enum Constant Details

  • Method Details

    • values

      public static ServiceInfoMap[] 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

      public static ServiceInfoMap valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • setServiceId

      @Experimental public void setServiceId(int serviceId, String serviceName)
      서비스 이름에 맞는 서비스 아이디를 등록

      특별한 이유가 없을 때는 이 메서드롤 호출하지 말 것 설정 로드 시 자동으로 호출됨

      이 메서드는 다음 릴리즈에서 삭제될 수 있음

      Parameters:
      serviceId - 서비스 아이디
      serviceName - 서비스 이름
    • getServiceName

      @Experimental public String getServiceName(int serviceId)
      서비스 아이디로 서비스 이름을 가져온다

      이 메서드는 다음 릴리즈에서 삭제될 수 있음

      Parameters:
      serviceId - 서비스 아이디
      Returns:
      서비스 이름, 없는 아이디 일때는 빈 문자열("")
    • getServiceId

      @Experimental public int getServiceId(String serviceName)
      서비스 이름으로 서비스 아이디를 가져 온다

      이 메서드는 다음 릴리즈에서 삭제될 수 있음

      Parameters:
      serviceName - 서비스 이름
      Returns:
      서비스 아이디, 없는 이름일 때는 -1