Enum Class NBInvokableState
- All Implemented Interfaces:
Serializable,Comparable<NBInvokableState>,Constable
errored_at > 0 -> ERROR
started_at == 0 -> STARTING
<p>
<p>
<p>
started_at > closed_at
STARTING
closed_at > started_at
RUNNING
teardown_at > closed_at
STOPPING
teardown_at
STOPPED
stopped_at
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe component has begun closing down, which means unwinding/closing any child componentsThere was an errorThe component has completed initialization and is presumed to be runningThe component exists in some state but has not completed initialization / constructionThe component has completed closing down, including its teardown logic -
Method Summary
Modifier and TypeMethodDescriptionstatic NBInvokableStateReturns the enum constant of this class with the specified name.static NBInvokableState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTING
The component exists in some state but has not completed initialization / construction -
RUNNING
The component has completed initialization and is presumed to be running -
CLOSING
The component has begun closing down, which means unwinding/closing any child components -
STOPPED
The component has completed closing down, including its teardown logic -
ERRORED
There was an error
-
-
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
-