public enum RuleState extends Enum<RuleState>
Enum Constant and Description |
---|
ALLOW
Right is allowed.
|
DENY
Right is denied.
|
UNDETERMINED
Right state undetermined.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static RuleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleState UNDETERMINED
public static final RuleState DENY
public static final RuleState ALLOW
public static RuleState[] values()
for (RuleState c : RuleState.values()) System.out.println(c);
public static RuleState 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 int getValue()
Copyright © 2004–2022 XWiki. All rights reserved.