Enum Explanation.Code
- java.lang.Object
-
- java.lang.Enum<Explanation.Code>
-
- com.dtolabs.rundeck.core.authorization.Explanation.Code
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Explanation.Code>
- Enclosing interface:
- Explanation
public static enum Explanation.Code extends java.lang.Enum<Explanation.Code>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Explanation.CodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Explanation.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRANTED
public static final Explanation.Code GRANTED
-
GRANTED_NO_AUTHORIZATION_ATTEMPTED
public static final Explanation.Code GRANTED_NO_AUTHORIZATION_ATTEMPTED
-
GRANTED_ACTIONS_AND_COMMANDS_MATCHED
public static final Explanation.Code GRANTED_ACTIONS_AND_COMMANDS_MATCHED
-
REJECTED
public static final Explanation.Code REJECTED
-
REJECTED_NO_ACTION_PROVIDED
public static final Explanation.Code REJECTED_NO_ACTION_PROVIDED
-
REJECTED_NO_SUBJECT_OR_ENV_FOUND
public static final Explanation.Code REJECTED_NO_SUBJECT_OR_ENV_FOUND
-
REJECTED_NO_RESOURCE_OR_ACTION_MATCH
public static final Explanation.Code REJECTED_NO_RESOURCE_OR_ACTION_MATCH
-
REJECTED_NO_ACTIONS_DECLARED
public static final Explanation.Code REJECTED_NO_ACTIONS_DECLARED
-
REJECTED_ACTIONS_DECLARED_EMPTY
public static final Explanation.Code REJECTED_ACTIONS_DECLARED_EMPTY
-
REJECTED_NO_ACTIONS_MATCHED
public static final Explanation.Code REJECTED_NO_ACTIONS_MATCHED
-
REJECTED_CONTEXT_EVALUATION_ERROR
public static final Explanation.Code REJECTED_CONTEXT_EVALUATION_ERROR
-
REJECTED_COMMAND_NOT_MATCHED
public static final Explanation.Code REJECTED_COMMAND_NOT_MATCHED
-
REJECTED_NO_RESOURCE_PROPERTY_PROVIDED
public static final Explanation.Code REJECTED_NO_RESOURCE_PROPERTY_PROVIDED
-
REJECTED_RESOURCE_PROPERTY_NOT_MATCHED
public static final Explanation.Code REJECTED_RESOURCE_PROPERTY_NOT_MATCHED
-
REJECTED_NO_RULES_DECLARED
public static final Explanation.Code REJECTED_NO_RULES_DECLARED
-
REJECTED_NO_DESCRIPTION_PROVIDED
public static final Explanation.Code REJECTED_NO_DESCRIPTION_PROVIDED
-
REJECTED_NO_RESOURCE_TYPE
public static final Explanation.Code REJECTED_NO_RESOURCE_TYPE
-
REJECTED_INVALID_FOR_SECTION
public static final Explanation.Code REJECTED_INVALID_FOR_SECTION
-
REJECTED_DENIED
public static final Explanation.Code REJECTED_DENIED
-
-
Method Detail
-
values
public static Explanation.Code[] 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 (Explanation.Code c : Explanation.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Explanation.Code valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-