Package org.opensaml.xacml.ctx
Enum DecisionType.DECISION
- java.lang.Object
-
- java.lang.Enum<DecisionType.DECISION>
-
- org.opensaml.xacml.ctx.DecisionType.DECISION
-
- All Implemented Interfaces:
Serializable,Comparable<DecisionType.DECISION>
- Enclosing interface:
- DecisionType
public static enum DecisionType.DECISION extends Enum<DecisionType.DECISION>
Allowed decision values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DenyDenied.IndeterminateCan't tell.NotApplicableNot applicable.PermitPermitted.
-
Constructor Summary
Constructors Modifier Constructor Description privateDECISION()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DecisionType.DECISIONvalueOf(String name)Returns the enum constant of this type with the specified name.static DecisionType.DECISION[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Deny
public static final DecisionType.DECISION Deny
Denied.
-
Permit
public static final DecisionType.DECISION Permit
Permitted.
-
Indeterminate
public static final DecisionType.DECISION Indeterminate
Can't tell.
-
NotApplicable
public static final DecisionType.DECISION NotApplicable
Not applicable.
-
-
Method Detail
-
values
public static DecisionType.DECISION[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DecisionType.DECISION c : DecisionType.DECISION.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DecisionType.DECISION valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-