Enum Class ActionState
- All Implemented Interfaces:
- Serializable,- Comparable<ActionState>,- Constable
The final state of the request to perform an action.
- Since:
- 7.8
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAn error occurred trying to perform the action, such as a connection error or the build server being down.The action failed to perform.The action was performed successfully.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Optional<ActionState> fromString(String value) static ActionStateReturns the enum constant of this class with the specified name.static ActionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ERRORAn error occurred trying to perform the action, such as a connection error or the build server being down. More detail should be provided in theActionResult.getMessage()about why it failed.
- 
FAILEDThe action failed to perform. This may be because of a bad request, or a server error. More detail should be provided in theActionResult.getMessage()about why it failed.
- 
SUCCESSFULThe action was performed successfully.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
fromString
 
-