org.optimizationservices.oscommon.datastructure.osprocess
Class JobStatistics

java.lang.Object
  extended by org.optimizationservices.oscommon.datastructure.osprocess.JobStatistics

public class JobStatistics
extends java.lang.Object

A data structure class that corresponds to an xml element in the OSpL schema.

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin

Field Summary
 JobDependencies dependencies
          dependencies holds the job dependencies, i.e.
 double duration
          duration holds the duration of the job.
 java.util.GregorianCalendar endTime
          endTime holds the end time of the job.
 java.lang.String jobID
          jobID holds the ID of the job, which can be served as a key in a hashmap.
 DirectoriesAndFiles requiredDirectoriesAndFiles
          requiredDirectoriesAndFiles holds the required files and directories to run the job.
 java.util.GregorianCalendar scheduledStartTime
          scheduledStartTime holds the scheduled start time of the job.
 java.lang.String serviceURI
          serviceURI holds the URI of the service that the job is submitted to.
 java.util.GregorianCalendar startTime
          startTime holds the start time of the job.
 java.lang.String state
          state holds the job state, which can be waiting, running, killed, finished or unknown.
 java.util.GregorianCalendar submitTime
          startTime holds the submit time of the job.
 java.lang.String userName
          userName holds the name of the user that submits the job.
 
Constructor Summary
JobStatistics()
          Default constructor.
 
Method Summary
static void main(java.lang.String[] args)
          main for test purposes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobID

public java.lang.String jobID
jobID holds the ID of the job, which can be served as a key in a hashmap.


state

public java.lang.String state
state holds the job state, which can be waiting, running, killed, finished or unknown.


serviceURI

public java.lang.String serviceURI
serviceURI holds the URI of the service that the job is submitted to.


userName

public java.lang.String userName
userName holds the name of the user that submits the job.


submitTime

public java.util.GregorianCalendar submitTime
startTime holds the submit time of the job.


startTime

public java.util.GregorianCalendar startTime
startTime holds the start time of the job.


endTime

public java.util.GregorianCalendar endTime
endTime holds the end time of the job.


duration

public double duration
duration holds the duration of the job.


scheduledStartTime

public java.util.GregorianCalendar scheduledStartTime
scheduledStartTime holds the scheduled start time of the job.


dependencies

public JobDependencies dependencies
dependencies holds the job dependencies, i.e. the list (String array) of othter jobIDs that have to finish before this job starts.


requiredDirectoriesAndFiles

public DirectoriesAndFiles requiredDirectoriesAndFiles
requiredDirectoriesAndFiles holds the required files and directories to run the job.

Constructor Detail

JobStatistics

public JobStatistics()
Default constructor.

Method Detail

main

public static void main(java.lang.String[] args)
main for test purposes.

Parameters:
argv - command line arguments.