public enum ClientProfile extends java.lang.Enum<ClientProfile>
Enum Constant and Description |
---|
HEADLESS_SERVER |
NATIVE_APPLICATION |
OTHER |
USER_AGENT_APPLICATION |
WEB_APPLICATION |
Modifier and Type | Method and Description |
---|---|
java.util.Set<GrantType> |
grantTypes() |
int |
id() |
static ClientProfile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientProfile HEADLESS_SERVER
public static final ClientProfile NATIVE_APPLICATION
public static final ClientProfile OTHER
public static final ClientProfile USER_AGENT_APPLICATION
public static final ClientProfile WEB_APPLICATION
public static ClientProfile[] values()
for (ClientProfile c : ClientProfile.values()) System.out.println(c);
public static ClientProfile 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.util.Set<GrantType> grantTypes()
public int id()