org.globus.exec.service.test.throughput.util
Class JobStateHelper

java.lang.Object
  extended by org.globus.exec.service.test.throughput.util.JobStateHelper

public class JobStateHelper
extends java.lang.Object


Constructor Summary
JobStateHelper()
           
 
Method Summary
static boolean isJobStateFinal(StateEnumeration state)
          Check whether a job is in final state or not.
static boolean isTerminationComplete(StateEnumeration state)
          Check whether a job is in state UserTerminateDone or UserTerminateFailed or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobStateHelper

public JobStateHelper()
Method Detail

isJobStateFinal

public static boolean isJobStateFinal(StateEnumeration state)
Check whether a job is in final state or not.


isTerminationComplete

public static boolean isTerminationComplete(StateEnumeration state)
Check whether a job is in state UserTerminateDone or UserTerminateFailed or not.