Package com.github.jpmsilva.jsystemd
Enum Class SystemdApplicationRunStatusProvider.ApplicationState
java.lang.Object
java.lang.Enum<SystemdApplicationRunStatusProvider.ApplicationState>
com.github.jpmsilva.jsystemd.SystemdApplicationRunStatusProvider.ApplicationState
- All Implemented Interfaces:
Serializable
,Comparable<SystemdApplicationRunStatusProvider.ApplicationState>
,Constable
- Enclosing class:
SystemdApplicationRunStatusProvider
public static enum SystemdApplicationRunStatusProvider.ApplicationState
extends Enum<SystemdApplicationRunStatusProvider.ApplicationState>
Enumeration of supported application startup sequence state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe application context is loaded.The application context is prepared.The application environment is prepared.The application is ready.The application is started.The application is starting. -
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
-
STARTING
The application is starting.- See Also:
-
ENVIRONMENT_PREPARED
The application environment is prepared.- See Also:
-
CONTEXT_PREPARED
The application context is prepared.- See Also:
-
CONTEXT_LOADED
The application context is loaded.- See Also:
-
STARTED
The application is started.- See Also:
-
READY
The application is ready.- See Also:
-
-
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
-