Enum JobStatus

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Assigned
      The process has been accepted by the Service and a process has been created in the remote system, but it has not been started yet.
      Canceled
      The process was terminated before execution commenced.
      Canceling
      A request was made to cancel the process and the ProcessService has honored that request.
      Chained
      A chain is requested and all processes in the chain have been created and are awaiting execution
      Completed
      Process execution finished successfully.
      Console
      The process has issued an OperatorMessage to the Messages monitor and is waiting for a reply.
      ConsoleRestart
      An operator message needs to be replied to in order to decide what to do with this process
      Delayed
      The child process is waiting for the parent process to finish
      Disabled
      The process server will not execute the process in a chain due to a manual request of the user.
      Dispatched
      The process has been dispatched to a Service, but the Service has not yet started the process.
      Error
      The execution of the process failed.
      EventWait
      The process is waiting for an Event to be raised.
      Held
      The execution of the process has been manually paused.
      Ignored
      This process was ignored as a result of being Disabled when the chain was called.
      Killed
      The process was terminated while it was running (process status was RUNNING, WAITING or CONSOLE).
      Killing
      A request was made to kill the process and the ProcessService has honored that request.
      LockWait
      The process cannot obtain a process lock and is waiting for one to be released.
      Modified
      The parameter list of a process in a chain definition has been modified
      Never
      Process is not scheduled to start within the next two years.
      New
      The process has been submitted, but not yet validated.
      OnChange
      On-change actions for this process are being executed.
      Overdue
      The process did not run in the first time window opened after the process start time
      PostRunning
      Post-Running actions for this process are being executed.
      PreRunning
      Pre-running actions for this process are being executed.
      Queued
      The start time is known, but the process cannot be executed, yet.
      QueueHeld
      The processes Queue has been manually paused
      Running
      The process is being executed by the Service.
      Scheduled
      The process has a valid start time and is waiting for execution
      Skipped
      The process server has not executed the process in a chain due to a pre-condition or the usage of the "Start at specified step" scheduling parameter.
      Uncertain
      The process runner has possibly terminated early, or the process was still running when the process server was restarted.
      Unknown
      The Service was terminated while the process was running (process status was RUNNING, WAITING or CONSOLE).
      Waiting
      The process is waiting for the result of the execution of another process.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char AssignedCode
      The char returned from Assigned.getCodeEx().
      static char CanceledCode
      The char returned from Canceled.getCodeEx().
      static char CancelingCode
      The char returned from Canceling.getCodeEx().
      static char ChainedCode
      The char returned from Chained.getCodeEx().
      static char CompletedCode
      The char returned from Completed.getCodeEx().
      static char ConsoleCode
      The char returned from Console.getCodeEx().
      static char ConsoleRestartCode
      The char returned from ConsoleRestart.getCodeEx().
      static char DelayedCode
      The char returned from Delayed.getCodeEx().
      static char DisabledCode
      The char returned from Disabled.getCodeEx().
      static char DispatchedCode
      The char returned from Dispatched.getCodeEx().
      static char ErrorCode
      The char returned from Error.getCodeEx().
      static char EventWaitCode
      The char returned from EventWait.getCodeEx().
      static char HeldCode
      The char returned from Held.getCodeEx().
      static char IgnoredCode
      The char returned from Ignored.getCodeEx().
      static char KilledCode
      The char returned from Killed.getCodeEx().
      static char KillingCode
      The char returned from Killing.getCodeEx().
      static char LockWaitCode
      The char returned from LockWait.getCodeEx().
      static char ModifiedCode
      The char returned from Modified.getCodeEx().
      static char NeverCode
      The char returned from Never.getCodeEx().
      static char NewCode
      The char returned from New.getCodeEx().
      static char OnChangeCode
      The char returned from OnChange.getCodeEx().
      static char OverdueCode
      The char returned from Overdue.getCodeEx().
      static char PostRunningCode
      The char returned from PostRunning.getCodeEx().
      static char PreRunningCode
      The char returned from PreRunning.getCodeEx().
      static char QueuedCode
      The char returned from Queued.getCodeEx().
      static char QueueHeldCode
      The char returned from QueueHeld.getCodeEx().
      static char RunningCode
      The char returned from Running.getCodeEx().
      static char ScheduledCode
      The char returned from Scheduled.getCodeEx().
      static char SkippedCode
      The char returned from Skipped.getCodeEx().
      static char UncertainCode
      The char returned from Uncertain.getCodeEx().
      static char UnknownCode
      The char returned from Unknown.getCodeEx().
      static char WaitingCode
      The char returned from Waiting.getCodeEx().
    • Enum Constant Detail

      • New

        public static final JobStatus New
        The process has been submitted, but not yet validated.
      • Chained

        public static final JobStatus Chained
        A chain is requested and all processes in the chain have been created and are awaiting execution
      • Skipped

        public static final JobStatus Skipped
        The process server has not executed the process in a chain due to a pre-condition or the usage of the "Start at specified step" scheduling parameter.
      • Disabled

        public static final JobStatus Disabled
        The process server will not execute the process in a chain due to a manual request of the user.
      • Ignored

        public static final JobStatus Ignored
        This process was ignored as a result of being Disabled when the chain was called.
      • Delayed

        public static final JobStatus Delayed
        The child process is waiting for the parent process to finish
      • Never

        public static final JobStatus Never
        Process is not scheduled to start within the next two years. This can occur due to conflicting time windows or time window elements, if the Process Server is not running, or if the Queue is closed.
      • Overdue

        public static final JobStatus Overdue
        The process did not run in the first time window opened after the process start time
      • QueueHeld

        public static final JobStatus QueueHeld
        The processes Queue has been manually paused
      • Scheduled

        public static final JobStatus Scheduled
        The process has a valid start time and is waiting for execution
      • ConsoleRestart

        public static final JobStatus ConsoleRestart
        An operator message needs to be replied to in order to decide what to do with this process
      • Held

        public static final JobStatus Held
        The execution of the process has been manually paused.
      • EventWait

        public static final JobStatus EventWait
        The process is waiting for an Event to be raised.
      • LockWait

        public static final JobStatus LockWait
        The process cannot obtain a process lock and is waiting for one to be released.
      • Queued

        public static final JobStatus Queued
        The start time is known, but the process cannot be executed, yet.
      • Dispatched

        public static final JobStatus Dispatched
        The process has been dispatched to a Service, but the Service has not yet started the process.
      • Modified

        public static final JobStatus Modified
        The parameter list of a process in a chain definition has been modified
      • OnChange

        public static final JobStatus OnChange
        On-change actions for this process are being executed.
      • PreRunning

        public static final JobStatus PreRunning
        Pre-running actions for this process are being executed.
      • PostRunning

        public static final JobStatus PostRunning
        Post-Running actions for this process are being executed.
      • Running

        public static final JobStatus Running
        The process is being executed by the Service.
      • Assigned

        public static final JobStatus Assigned
        The process has been accepted by the Service and a process has been created in the remote system, but it has not been started yet.
      • Console

        public static final JobStatus Console
        The process has issued an OperatorMessage to the Messages monitor and is waiting for a reply.
      • Waiting

        public static final JobStatus Waiting
        The process is waiting for the result of the execution of another process.
      • Killing

        public static final JobStatus Killing
        A request was made to kill the process and the ProcessService has honored that request.
      • Canceling

        public static final JobStatus Canceling
        A request was made to cancel the process and the ProcessService has honored that request.
      • Unknown

        public static final JobStatus Unknown
        The Service was terminated while the process was running (process status was RUNNING, WAITING or CONSOLE).
      • Uncertain

        public static final JobStatus Uncertain
        The process runner has possibly terminated early, or the process was still running when the process server was restarted. There may be an accurate termination message for the process waiting to be processed. If there is, the process will go into the appropriate state. Otherwise it will go into status Unknown after a timeout.
      • Completed

        public static final JobStatus Completed
        Process execution finished successfully.
      • Error

        public static final JobStatus Error
        The execution of the process failed.
      • Killed

        public static final JobStatus Killed
        The process was terminated while it was running (process status was RUNNING, WAITING or CONSOLE).
      • Canceled

        public static final JobStatus Canceled
        The process was terminated before execution commenced.
    • Method Detail

      • values

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

        public static JobStatus 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
      • valueOfCode

        public static JobStatus valueOfCode​(String code)
        Helper function to return the JobStatus 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 JobStatus
        Returns:
        The JobStatus corresponding to code, or null, if code is null, longer than one character, or not a valid code
      • safeValueOf

        public static JobStatus safeValueOf​(String value)
        Helper function to return the JobStatus represented by value. If value is null, or not a valid JobStatus 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 JobStatus corresponding to value, or null, if value is null, or not a valid enumeration
        See Also:
        valueOf(String)
      • valueOf

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

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