| java.lang.Object org.griphyn.vdl.workflow.JobStateEntry
JobStateEntry | public class JobStateEntry implements Workflow,Cloneable(Code) | | This class is the container for a job state record.
When constructing a job from piece-meal, please note that setting the
job's state will automatically set the job's last modification time
to the current time. If this is not desired, you must set the
modification time after setting the state. However, none of the
constructors will set the modification to the current time (yet).
author: Jens-S. Vöckler author: Mike Wilde version: $Revision: 50 $ |
JobStateEntry | public JobStateEntry()(Code) | | Default contructor.
|
JobStateEntry | public JobStateEntry(long wfid)(Code) | | Constructs an other empty class.
Parameters: wfid - is the workflow primary key |
JobStateEntry | public JobStateEntry(long wfid, String jobid)(Code) | | Constructs an other empty class.
Parameters: wfid - is the workflow primary key Parameters: jobid - is the job identifier within the workflow |
JobStateEntry | public JobStateEntry(String jobid)(Code) | | Constructs an other empty class. It will set the workflow identifier
to -1 to indicate no connection.
Parameters: jobid - is the job identifier within the workflow |
clone | public Object clone()(Code) | | Creates and returns a copy of this object.
a new instance. |
setState | public void setState(String state)(Code) | | Accessor. As a side effect, setting the job state will
set the current modification time to the current time.
Parameters: state - is the new Condor job state, must not benull . See Also: JobStateEntry.getState() |
toString | public String toString()(Code) | | Constructs a simple line of all internal data points. Adjust
to your requirements - this is an example, only.
a line containing all internal data. |
|
|