Package com.priint.pubserver.appserver
Enum PubServerLifeCycleModule.PubServerLifeCyclePhase
- java.lang.Object
-
- java.lang.Enum<PubServerLifeCycleModule.PubServerLifeCyclePhase>
-
- com.priint.pubserver.appserver.PubServerLifeCycleModule.PubServerLifeCyclePhase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PubServerLifeCycleModule.PubServerLifeCyclePhase>
- Enclosing class:
- PubServerLifeCycleModule
public static enum PubServerLifeCycleModule.PubServerLifeCyclePhase extends java.lang.Enum<PubServerLifeCycleModule.PubServerLifeCyclePhase>
PubServer life-cycle phases
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INITServer initializationMANDATORY_PLUGIN_MISSINGSpecial status set when mandatory plugins are missingREADYServer readySHUTDOWNServer shutdownSTARTUPServer startupTERMINATIONServer termination
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static PubServerLifeCycleModule.PubServerLifeCyclePhasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PubServerLifeCycleModule.PubServerLifeCyclePhase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final PubServerLifeCycleModule.PubServerLifeCyclePhase INIT
Server initialization
-
STARTUP
public static final PubServerLifeCycleModule.PubServerLifeCyclePhase STARTUP
Server startup
-
READY
public static final PubServerLifeCycleModule.PubServerLifeCyclePhase READY
Server ready
-
SHUTDOWN
public static final PubServerLifeCycleModule.PubServerLifeCyclePhase SHUTDOWN
Server shutdown
-
TERMINATION
public static final PubServerLifeCycleModule.PubServerLifeCyclePhase TERMINATION
Server termination
-
MANDATORY_PLUGIN_MISSING
public static final PubServerLifeCycleModule.PubServerLifeCyclePhase MANDATORY_PLUGIN_MISSING
Special status set when mandatory plugins are missing
-
-
Method Detail
-
values
public static PubServerLifeCycleModule.PubServerLifeCyclePhase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PubServerLifeCycleModule.PubServerLifeCyclePhase c : PubServerLifeCycleModule.PubServerLifeCyclePhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PubServerLifeCycleModule.PubServerLifeCyclePhase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<PubServerLifeCycleModule.PubServerLifeCyclePhase>
-
-