Enum Class NodeLifecycleState

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

@PublicApi public enum NodeLifecycleState extends Enum<NodeLifecycleState>
Represents the node life cycle
Since:
9.5
  • Enum Constant Details

    • SETUP

      public static final NodeLifecycleState SETUP
      The system is undergoing setup
    • STARTING

      public static final NodeLifecycleState STARTING
      The node is starting
    • RUNNING

      public static final NodeLifecycleState RUNNING
      The node is running as the primary node.
    • RUNNING_AS_SECONDARY

      public static final NodeLifecycleState RUNNING_AS_SECONDARY
      The node is running as secondary node.
    • PAUSING

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

      public static final NodeLifecycleState PAUSED
      The node is paused. No builds are queued or building.
    • PREPARING_FOR_RESTART

      public static final NodeLifecycleState PREPARING_FOR_RESTART
      The node is in transitioning to READY_FOR_RESTART state.
    • READY_FOR_RESTART

      public static final NodeLifecycleState READY_FOR_RESTART
      The node is paused and ready to be restarted.
  • Method Details

    • values

      public static NodeLifecycleState[] 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 NodeLifecycleState 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
    • getCorrespondingClusterState

      public Optional<ClusterLifecycleState> getCorrespondingClusterState()