public enum ClientType extends java.lang.Enum<ClientType> implements EnumClass<java.lang.String>
Modifier and Type | Method and Description |
---|---|
static ClientType |
fromId(java.lang.String id) |
java.lang.String |
getConfigPath() |
java.lang.String |
getId() |
static ClientType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientType WEB
public static final ClientType PORTAL
public static final ClientType DESKTOP
public static final ClientType REST_API
public static ClientType[] values()
for (ClientType c : ClientType.values()) System.out.println(c);
public static ClientType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getConfigPath()
public static ClientType fromId(java.lang.String id)