Enum Class NuggetControl.Outcome
- All Implemented Interfaces:
Serializable, Comparable<NuggetControl.Outcome>, Constable
- Enclosing class:
NuggetControl
Stable public nugget-control outcome vocabulary.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation was accepted for asynchronous execution.The operation completed synchronously.A server-issued confirmation challenge is required before execution.Admission, authorization, state, target, or confirmation policy denied the request.The action is disabled by configuration.The operation is already in progress.The final nugget state is not known.The action completed only partially.The request or execution did not finish before its deadline.The selected nugget or provider cannot perform this action. -
Method Summary
Modifier and TypeMethodDescriptionstatic NuggetControl.OutcomeReturns the enum constant of this class with the specified name.static NuggetControl.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONFIRMATION_REQUIRED
A server-issued confirmation challenge is required before execution. -
ACCEPTED
The operation was accepted for asynchronous execution. -
IN_PROGRESS
The operation is already in progress. -
COMPLETED
The operation completed synchronously. -
DENIED
Admission, authorization, state, target, or confirmation policy denied the request. -
DISABLED
The action is disabled by configuration. -
UNAVAILABLE
The selected nugget or provider cannot perform this action. -
TIMED_OUT
The request or execution did not finish before its deadline. -
PARTIAL
The action completed only partially. -
OUTCOME_UNKNOWN
The final nugget state is not known.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-