Definition at line 30 of file PendingJob.java.
Public Member Functions | |
boolean | isValid () |
void | setValid (boolean ok) |
String | getScriptName () |
void | setScriptName (String sn) |
String | getName () |
void | setName (String n) |
void | setRunSeriesId (int lp) |
Date | getDate () |
void | setDate (Date d) |
int | getLogId () |
RunSeries | getRunSeries () |
void | setRunSeries (ResultSearchPattern pattern) |
PendingJob (int newlogId) throws JetWebException | |
void | delete () |
Private Attributes | |
int | runSeriesId = -1 |
String | scriptName |
String | name |
Date | date |
boolean | valid |
RunSeries | runSeries |
int | logId |
|
Constructor taking an Id for the Logfile for this Job.
Definition at line 126 of file PendingJob.java. 00126 { 00127 logId = newlogId; 00128 DBJobManager.selectFromDB(this); 00129 00130 if (runSeriesId>0 && valid) { 00131 runSeries = new RunSeries(runSeriesId); 00132 } 00133 00134 }
|
|
Removes record of this job from the database and deletes the run script if possible. Definition at line 140 of file PendingJob.java. 00140 { 00141 00142 //DBFitManager.delete(this); 00143 00144 File script = new File(scriptName); 00145 if (script.exists()){ script.delete(); } 00146 00147 }
|
|
RunDate for the job
Definition at line 98 of file PendingJob.java. Referenced by HTMLWriter.listPendingJobs(). 00098 { return date; }
|
|
Id of the logfile for this job.
Definition at line 112 of file PendingJob.java. 00112 {return logId; }
|
|
JobName
Definition at line 75 of file PendingJob.java. Referenced by HTMLWriter.listPendingJobs(), and JobRequest.setJobName(). 00075 {
00076 return name;
00077 }
|
|
Return the runSeries on which this Job is based. Definition at line 115 of file PendingJob.java. 00115 {return runSeries;}
|
|
Name of the Run Script for this job.
Definition at line 60 of file PendingJob.java. Referenced by HTMLWriter.listPendingJobs(). 00060 {
00061 return scriptName;
00062 }
|
|
Flag allowing job to be invalidated during processing.
Definition at line 47 of file PendingJob.java. Referenced by DBJobManager.selectPendingJobs(). 00047 { return valid; }
|
|
Sets the RunDate for the job
Definition at line 104 of file PendingJob.java. 00104 { date = d; }
|
|
JobName
Definition at line 83 of file PendingJob.java. 00083 { name = n; }
|
|
Sets the runSeries on which this Job is based. Definition at line 117 of file PendingJob.java. 00117 { 00118 runSeries = (RunSeries)pattern; 00119 }
|
|
Id of the runSeries on which this Job is based.
Definition at line 90 of file PendingJob.java. 00090 { runSeriesId = lp; }
|
|
Name of the Run Script for this job.
Definition at line 68 of file PendingJob.java. 00068 { scriptName = sn; }
|
|
Flag allowing job to be invalidated during processing.
Definition at line 53 of file PendingJob.java. 00053 { valid=ok; }
|
|
Definition at line 36 of file PendingJob.java. |
|
Definition at line 106 of file PendingJob.java. |
|
Definition at line 35 of file PendingJob.java. |
|
Definition at line 38 of file PendingJob.java. |
|
Definition at line 32 of file PendingJob.java. |
|
Definition at line 34 of file PendingJob.java. |
|
Definition at line 37 of file PendingJob.java. |
Generated Wed Jan 17 09:14:27 GMT 2007