Enum NodeLifecycleState

    • Enum Constant Detail

      • 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.
      • READY_FOR_RESTART

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

      • values

        public static NodeLifecycleState[] values()
        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 (NodeLifecycleState c : NodeLifecycleState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NodeLifecycleState valueOf​(String name)
        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