Enum Class ApplicationRunState
- All Implemented Interfaces:
Serializable, Comparable<ApplicationRunState>, Constable
Lifecycle states for packaging, deployment, activation, stop, and unload.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBundle was stored in a repository.Application is draining before stop.Activation or lifecycle failed.Bootstrap class was loaded.Runtime is loading the bundle.Bundle exists but has not been verified.Activation plan was created.Verification or policy rejected the application.Application is being rolled back to a previous verified version.Application is serving exported services.Application start hook is running.Application stopped and exported services are removed.Application stop hook is running.Runtime released owned references.Runtime is releasing references.Application is being upgraded to another verified version.Bundle verification succeeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationRunStateReturns the enum constant of this class with the specified name.static ApplicationRunState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PACKAGED
Bundle exists but has not been verified. -
VERIFIED
Bundle verification succeeded. -
DEPLOYED
Bundle was stored in a repository. -
PLANNED
Activation plan was created. -
LOADING
Runtime is loading the bundle. -
LOADED
Bootstrap class was loaded. -
STARTING
Application start hook is running. -
RUNNING
Application is serving exported services. -
UPGRADING
Application is being upgraded to another verified version. -
ROLLING_BACK
Application is being rolled back to a previous verified version. -
DRAINING
Application is draining before stop. -
STOPPING
Application stop hook is running. -
STOPPED
Application stopped and exported services are removed. -
UNLOADING
Runtime is releasing references. -
UNLOADED
Runtime released owned references. -
FAILED
Activation or lifecycle failed. -
REJECTED
Verification or policy rejected the application.
-
-
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
-