public static enum RightManager.RightResult extends Enum<RightManager.RightResult>
| Enum Constant and Description |
|---|
RIGHT_ALLOW
Indicates that a given user has the required right.
|
RIGHT_DENY
Indicates that a given user does NOT have the required right.
|
RIGHT_UNKNOWN
Indicates that the system knows nothing about the fact that a given user has a right or not.
|
| Modifier and Type | Method and Description |
|---|---|
static RightManager.RightResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RightManager.RightResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RightManager.RightResult RIGHT_ALLOW
public static final RightManager.RightResult RIGHT_DENY
public static final RightManager.RightResult RIGHT_UNKNOWN
public static RightManager.RightResult[] values()
for (RightManager.RightResult c : RightManager.RightResult.values()) System.out.println(c);
public static RightManager.RightResult 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