Enum Class ServerLifecycleState

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

@Deprecated @PublicApi public enum ServerLifecycleState extends Enum<ServerLifecycleState>
Deprecated.
since 9.5, use NodeLifecycleState instead
Represents the server life cycle
Since:
3.3
  • Enum Constant Details

    • SETUP

      public static final ServerLifecycleState SETUP
      Deprecated.
      The system is undergoing setup
      Since:
      3.3
    • STARTING

      public static final ServerLifecycleState STARTING
      Deprecated.
      The server is starting
      Since:
      3.3
    • RUNNING

      public static final ServerLifecycleState RUNNING
      Deprecated.
      The server is running as the primary node.
      Since:
      3.3
    • PAUSING

      public static final ServerLifecycleState PAUSING
      Deprecated.
      The server is transitioning to PAUSED. No builds can be queued at this time.
      Since:
      3.3
    • PREPARING_FOR_RESTART

      public static final ServerLifecycleState PREPARING_FOR_RESTART
      Deprecated.
      The server is in transitioning to READY_FOR_RESTART state.
      Since:
      5.8
    • READY_FOR_RESTART

      public static final ServerLifecycleState READY_FOR_RESTART
      Deprecated.
      The server is paused and ready to be restarted.
      Since:
      5.8
    • PAUSED

      public static final ServerLifecycleState PAUSED
      Deprecated.
      The server is paused. No builds are queued or building.
      Since:
      3.3
    • RUNNING_AS_SECONDARY

      public static final ServerLifecycleState RUNNING_AS_SECONDARY
      Deprecated.
      The server is running as secondary node.
      Since:
      9.4
  • Method Details

    • values

      public static ServerLifecycleState[] values()
      Deprecated.
      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 ServerLifecycleState valueOf(String name)
      Deprecated.
      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
    • fromNodeLifecycleState

      @NotNull public static @NotNull ServerLifecycleState fromNodeLifecycleState(NodeLifecycleState nodeLifecycleState)
      Deprecated.
    • getSetByUser

      @Nullable public @Nullable String getSetByUser()
      Deprecated.
      Returns:
      the username that changed the state. Can be null if no user changed the state
    • getFallbackToNodeLifecycleState

      @NotNull public @NotNull NodeLifecycleState getFallbackToNodeLifecycleState()
      Deprecated.
      Returns:
      the NodeLifecycleState that this ServerLifecycleState falls back to.
      Since:
      9.5