Enum ServerLifecycleState

    • Enum Constant Detail

      • 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
      • 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 Detail

      • values

        public static ServerLifecycleState[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServerLifecycleState c : ServerLifecycleState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServerLifecycleState valueOf​(String name)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getSetByUser

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