@Portable public enum AuthorizationResult extends Enum<AuthorizationResult>
| Enum Constant and Description |
|---|
ACCESS_ABSTAIN |
ACCESS_DENIED |
ACCESS_GRANTED |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationResult |
invert() |
String |
toString() |
static AuthorizationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationResult ACCESS_GRANTED
public static final AuthorizationResult ACCESS_ABSTAIN
public static final AuthorizationResult ACCESS_DENIED
public static AuthorizationResult[] values()
for (AuthorizationResult c : AuthorizationResult.values()) System.out.println(c);
public static AuthorizationResult 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 nullpublic AuthorizationResult invert()
public String toString()
toString in class Enum<AuthorizationResult>Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.