Enum Class ClusterLifecycleState

java.lang.Object
java.lang.Enum<ClusterLifecycleState>
com.atlassian.bamboo.cluster.state.ClusterLifecycleState
All Implemented Interfaces:
Serializable, Comparable<ClusterLifecycleState>, Constable

@Internal public enum ClusterLifecycleState extends Enum<ClusterLifecycleState>
Represents the cluster life cycle
Since:
9.5
  • Enum Constant Details

    • STARTING

      public static final ClusterLifecycleState STARTING
      The cluster is starting.
    • RUNNING

      public static final ClusterLifecycleState RUNNING
      The cluster is running.
    • PAUSING

      public static final ClusterLifecycleState PAUSING
      The cluster is transitioning to PAUSED. No builds can be queued at this time.
    • PAUSED

      public static final ClusterLifecycleState PAUSED
      The cluster is paused. No builds are queued or building.
    • UNKNOWN

      public static final ClusterLifecycleState UNKNOWN
      The cluster state could not be determined; this is not a valid cluster state.
  • Method Details

    • values

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