public enum AuthorizeResult extends Enum<AuthorizeResult>
Enum Constant and Description |
---|
ALLOWED |
AUTHORIZER_FAILED |
DENIED |
UNKNOWN_ERROR |
UNKNOWN_SCOPE |
Modifier and Type | Method and Description |
---|---|
static AuthorizeResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizeResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizeResult ALLOWED
public static final AuthorizeResult DENIED
public static final AuthorizeResult UNKNOWN_SCOPE
public static final AuthorizeResult AUTHORIZER_FAILED
public static final AuthorizeResult UNKNOWN_ERROR
public static AuthorizeResult[] values()
for (AuthorizeResult c : AuthorizeResult.values()) System.out.println(c);
public static AuthorizeResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null