public enum ApplicationRole extends java.lang.Enum<ApplicationRole>
Enum Constant and Description |
---|
ADMIN
Indicates that an application has an ADMIN role.
|
UNSPECIFIED
Indicates that an application role has not been specified.
|
USER
Indicates that an application has a USER role.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationRole ADMIN
public static final ApplicationRole USER
public static final ApplicationRole UNSPECIFIED
public static ApplicationRole[] values()
for (ApplicationRole c : ApplicationRole.values()) System.out.println(c);
public static ApplicationRole 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 null