Enum Class ManagedEventSubscriptionFactory.Phase
java.lang.Object
java.lang.Enum<ManagedEventSubscriptionFactory.Phase>
org.j7m.middleware.application.distributed.ManagedEventSubscriptionFactory.Phase
- All Implemented Interfaces:
Serializable, Comparable<ManagedEventSubscriptionFactory.Phase>, Constable
- Enclosing class:
ManagedEventSubscriptionFactory
public static enum ManagedEventSubscriptionFactory.Phase
extends Enum<ManagedEventSubscriptionFactory.Phase>
Safe lifecycle state, containing no application payload or exception text.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStartup succeeded but global activation admission is not committed.Fully released.Admission closed while actual work exits.Explicit failure requiring operator attention.Bound but not prepared.Prepared with no delivery admission.Polling or processing. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
Bound but not prepared. -
PREPARED
Prepared with no delivery admission. -
ARMED
Startup succeeded but global activation admission is not committed. -
RUNNING
Polling or processing. -
DRAINING
Admission closed while actual work exits. -
FAILED
Explicit failure requiring operator attention. -
CLOSED
Fully released.
-
-
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
-