Enum Class InstanceState

java.lang.Object
java.lang.Enum<InstanceState>
com.atlassian.jira.instance.InstanceState
All Implemented Interfaces:
Serializable, Comparable<InstanceState>, Constable

@Internal @ExperimentalApi public enum InstanceState extends Enum<InstanceState>
The states of a JIRA instance.
Since:
7.4
  • Enum Constant Details

    • INSTALLING

      public static final InstanceState INSTALLING
      JIRA is being installed.
    • UPGRADE_REQUIRED

      public static final InstanceState UPGRADE_REQUIRED
      JIRA is about to be upgraded to a new version, i.e. the application build number is ahead of the database build number.
    • RESTARTING

      public static final InstanceState RESTARTING
      JIRA was shut down and is being started up again. No installation or upgrade can be detected.
    • UNKNOWN

      public static final InstanceState UNKNOWN
      JIRA is currently in a state that can not be determined. This may be due to errors which prevents us from determining the state, or because needed components are not available yet.
    • RUNNING

      public static final InstanceState RUNNING
      JIRA is running. Any of the other states can transition into this one.
  • Method Details

    • values

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