Enum Class ApplicationRunState

java.lang.Object
java.lang.Enum<ApplicationRunState>
org.j7m.middleware.application.api.ApplicationRunState
All Implemented Interfaces:
Serializable, Comparable<ApplicationRunState>, Constable

public enum ApplicationRunState extends Enum<ApplicationRunState>
Lifecycle states for packaging, deployment, activation, stop, and unload.
  • Enum Constant Details

    • PACKAGED

      public static final ApplicationRunState PACKAGED
      Bundle exists but has not been verified.
    • VERIFIED

      public static final ApplicationRunState VERIFIED
      Bundle verification succeeded.
    • DEPLOYED

      public static final ApplicationRunState DEPLOYED
      Bundle was stored in a repository.
    • PLANNED

      public static final ApplicationRunState PLANNED
      Activation plan was created.
    • LOADING

      public static final ApplicationRunState LOADING
      Runtime is loading the bundle.
    • LOADED

      public static final ApplicationRunState LOADED
      Bootstrap class was loaded.
    • STARTING

      public static final ApplicationRunState STARTING
      Application start hook is running.
    • RUNNING

      public static final ApplicationRunState RUNNING
      Application is serving exported services.
    • UPGRADING

      public static final ApplicationRunState UPGRADING
      Application is being upgraded to another verified version.
    • ROLLING_BACK

      public static final ApplicationRunState ROLLING_BACK
      Application is being rolled back to a previous verified version.
    • DRAINING

      public static final ApplicationRunState DRAINING
      Application is draining before stop.
    • STOPPING

      public static final ApplicationRunState STOPPING
      Application stop hook is running.
    • STOPPED

      public static final ApplicationRunState STOPPED
      Application stopped and exported services are removed.
    • UNLOADING

      public static final ApplicationRunState UNLOADING
      Runtime is releasing references.
    • UNLOADED

      public static final ApplicationRunState UNLOADED
      Runtime released owned references.
    • FAILED

      public static final ApplicationRunState FAILED
      Activation or lifecycle failed.
    • REJECTED

      public static final ApplicationRunState REJECTED
      Verification or policy rejected the application.
  • Method Details

    • values

      public static ApplicationRunState[] 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

      public static ApplicationRunState valueOf(String name)
      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 name
      NullPointerException - if the argument is null