Package tech.beshu.ror.commons
Enum ResponseContext.FinalState
- java.lang.Object
-
- java.lang.Enum<ResponseContext.FinalState>
-
- tech.beshu.ror.commons.ResponseContext.FinalState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResponseContext.FinalState>
- Enclosing class:
- ResponseContext
public static enum ResponseContext.FinalState extends java.lang.Enum<ResponseContext.FinalState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResponseContext.FinalState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResponseContext.FinalState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORBIDDEN
public static final ResponseContext.FinalState FORBIDDEN
-
ALLOWED
public static final ResponseContext.FinalState ALLOWED
-
ERRORED
public static final ResponseContext.FinalState ERRORED
-
NOT_FOUND
public static final ResponseContext.FinalState NOT_FOUND
-
-
Method Detail
-
values
public static ResponseContext.FinalState[] 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 (ResponseContext.FinalState c : ResponseContext.FinalState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResponseContext.FinalState 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
-
-