Enum Class NuggetApplicationLifecycle.Outcome
java.lang.Object
java.lang.Enum<NuggetApplicationLifecycle.Outcome>
org.j7m.middleware.operations.api.NuggetApplicationLifecycle.Outcome
- All Implemented Interfaces:
Serializable, Comparable<NuggetApplicationLifecycle.Outcome>, Constable
- Enclosing class:
NuggetApplicationLifecycle
public static enum NuggetApplicationLifecycle.Outcome
extends Enum<NuggetApplicationLifecycle.Outcome>
Stable public lifecycle outcome vocabulary.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation was accepted but did not complete synchronously.Target was already in the requested terminal or idempotent state.Operation completed successfully.Operation did not finish before its deadline.Operation produced a plan and made no runtime mutation.Operation failed with a normalized safe error.Operation was rejected by admission, authorization, gate, or state policy.Operation is unsupported by the selected nugget or provider.Operation outcome is not fully known. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NuggetApplicationLifecycle.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPLETED
Operation completed successfully. -
DRY_RUN
Operation produced a plan and made no runtime mutation. -
ACCEPTED
Operation was accepted but did not complete synchronously. -
ALREADY_DONE
Target was already in the requested terminal or idempotent state. -
REJECTED
Operation was rejected by admission, authorization, gate, or state policy. -
UNAVAILABLE
Operation is unsupported by the selected nugget or provider. -
DEADLINE_EXCEEDED
Operation did not finish before its deadline. -
FAILED
Operation failed with a normalized safe error. -
UNKNOWN
Operation outcome is not fully 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
-