Class JobState

java.lang.Object
com.onenetwork.platform.grid.JobState

public class JobState
extends java.lang.Object
Describes all possible values of GridJob.getState().

The job's state is dependent on the states of the tasks it contains:

Task statesJob state
All IDLEIDLE
One or more in RUNNING, FAIL PENDING, FAILED or SUCCEEDED, but some still IDLERUNNING
One or more in FAILED with propagateFail = trueFAILED
All tasks FAILED (with propagateFail = false) or SUCCEEDEDSUCCEEDED
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String FAILED
    Job state if one or more tasks fail and propagateFail = true
    static java.lang.String IDLE
    Job state when all tasks are IDLE
    static java.lang.String RUNNING
    Job state when the first task has started but the last has not completed.
    static java.lang.String SUCCEEDED
    Job state if all tasks complete successfully, or all tasks complete (with possible failures) but propagateFail = false.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • IDLE

      public static final java.lang.String IDLE
      Job state when all tasks are IDLE
      See Also:
      Constant Field Values
    • RUNNING

      public static final java.lang.String RUNNING
      Job state when the first task has started but the last has not completed.
      See Also:
      Constant Field Values
    • SUCCEEDED

      public static final java.lang.String SUCCEEDED
      Job state if all tasks complete successfully, or all tasks complete (with possible failures) but propagateFail = false.
      See Also:
      Constant Field Values
    • FAILED

      public static final java.lang.String FAILED
      Job state if one or more tasks fail and propagateFail = true
      See Also:
      Constant Field Values