Enum ProcessServerStatus

    • Enum Constant Detail

      • Created

        public static final ProcessServerStatus Created
        The ProcessServer has been created, but has never been started. This is also the value that the DesiredStatus attribute is reset to (and hence the only value seen in the database).
      • Starting

        public static final ProcessServerStatus Starting
        The ProcessServer is in the process of starting up.
      • Running

        public static final ProcessServerStatus Running
        The ProcessServer is currently running normally.
      • Shutdown

        public static final ProcessServerStatus Shutdown
        The ProcessServer is not currently running.
      • ShutdownAbort

        public static final ProcessServerStatus ShutdownAbort
        The ProcessServer is being shutdown with the Abort Flag.
      • ShutdownImmediate

        public static final ProcessServerStatus ShutdownImmediate
        The ProcessServer is being shutdown immediately.
      • ShutdownNormal

        public static final ProcessServerStatus ShutdownNormal
        The ProcessServer is being shutdown normally.
      • Unknown

        public static final ProcessServerStatus Unknown
        The state of the ProcessServer is not currently known.
      • Connecting

        public static final ProcessServerStatus Connecting
        A ProcessServer service is currently trying to connect to the remote system.
      • Updating

        public static final ProcessServerStatus Updating
        A ProcessServer service is currently trying to update the software on the remote system.
      • PartiallyRunning

        public static final ProcessServerStatus PartiallyRunning
        The ProcessServer and at least one service (but not all services) are running.
      • Overloaded

        public static final ProcessServerStatus Overloaded
        The ProcessServer is running above its load threshold.
      • Error

        public static final ProcessServerStatus Error
        The ProcessServer cannot process processes because of some failure condition, possible a resource restriction.
    • Method Detail

      • values

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

        public static ProcessServerStatus 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
      • getPriority

        public int getPriority()
      • valueOfCode

        public static ProcessServerStatus valueOfCode​(String code)
        Helper function to return the ProcessServerStatus represented by code. code must be a single character. If code is null, longer than one character, empty, or not a valid code then this method will return null.
        Parameters:
        code - A string with one character that is one of the codes for ProcessServerStatus
        Returns:
        The ProcessServerStatus corresponding to code, or null, if code is null, longer than one character, or not a valid code
      • safeValueOf

        public static ProcessServerStatus safeValueOf​(String value)
        Helper function to return the ProcessServerStatus represented by value. If value is null, or not a valid ProcessServerStatus enumeration then this method will return null.

        The main difference between this method and valueOf(String), is that this method will return null when passed an invalid value, valueOf(String) will throw an IllegalArgumentException.

        Parameters:
        value - The string value that corresponds to the requested enumeration value
        Returns:
        The ProcessServerStatus corresponding to value, or null, if value is null, or not a valid enumeration
        See Also:
        valueOf(String)
      • valueOf

        public static ProcessServerStatus valueOf​(Character code)
        Helper function to return the ProcessServerStatus represented by code. If code is null, or not a valid ProcessServerStatus code then this method will return null.
        Parameters:
        code - Character that is one of the codes for HandlerAction
        Returns:
        The ProcessServerStatus corresponding to code, or null, if code is null, or not a valid code
      • valueOf

        public static ProcessServerStatus valueOf​(char code)
        Helper function to return the ProcessServerStatus represented by code. If code is not a valid ProcessServerStatus code then this method will return null.
        Parameters:
        code - char that is one of the codes for HandlerAction
        Returns:
        The ProcessServerStatus corresponding to code, or null, if code is not a valid code