public enum AccessDecisionState extends Enum<AccessDecisionState>
AccessDecisionVoterContext
Enum Constant and Description |
---|
INITIAL |
NO_VIOLATION_FOUND |
VIOLATION_FOUND |
VOTE_IN_PROGRESS |
Modifier and Type | Method and Description |
---|---|
static AccessDecisionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessDecisionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessDecisionState INITIAL
public static final AccessDecisionState VOTE_IN_PROGRESS
public static final AccessDecisionState VIOLATION_FOUND
public static final AccessDecisionState NO_VIOLATION_FOUND
public static AccessDecisionState[] values()
for (AccessDecisionState c : AccessDecisionState.values()) System.out.println(c);
public static AccessDecisionState 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 nullCopyright © 2020 The Apache Software Foundation. All rights reserved.