|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.gui.JobTracker
public class JobTracker
Responsible for tracking the execution of a job as a hierarchy.
Constructor Summary | |
---|---|
JobTracker(JobMeta jobMeta)
|
|
JobTracker(JobMeta jobMeta,
int maxChildren)
|
|
JobTracker(JobMeta jobMeta,
int maxChildren,
JobEntryResult result)
Creates a jobtracker with a single result |
|
JobTracker(JobMeta jobMeta,
JobEntryResult result)
Creates a jobtracker with a single result (max 1000 children are kept) |
Method Summary | |
---|---|
void |
addJobTracker(JobTracker jobTracker)
|
void |
clear()
|
JobTracker |
findJobTracker(JobEntryCopy jobEntryCopy)
Finds the JobTracker for the job entry specified. |
JobEntryResult |
getJobEntryResult()
|
String |
getJobFilename()
|
String |
getJobName()
|
JobTracker |
getJobTracker(int i)
|
List<JobTracker> |
getJobTrackers()
|
int |
getMaxChildren()
|
JobTracker |
getParentJobTracker()
|
int |
getTotalNumberOfItems()
|
int |
nrJobTrackers()
|
void |
setJobEntryResult(JobEntryResult result)
|
void |
setJobFilename(String jobFilename)
|
void |
setJobName(String jobName)
|
void |
setJobTrackers(List<JobTracker> jobTrackers)
|
void |
setMaxChildren(int maxChildren)
|
void |
setParentJobTracker(JobTracker parentJobTracker)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobTracker(JobMeta jobMeta)
jobMeta
- the job metadata to keep track of (with maximum 5000 children)public JobTracker(JobMeta jobMeta, int maxChildren)
jobMeta
- The job metadata to trackmaxChildren
- The maximum number of children to keep track of (1000 is the default)public JobTracker(JobMeta jobMeta, JobEntryResult result)
jobMeta
- the job metadata to keep track ofresult
- the job entry result to track.public JobTracker(JobMeta jobMeta, int maxChildren, JobEntryResult result)
jobMeta
- the job metadata to keep track ofmaxChildren
- The maximum number of children to keep track ofresult
- the job entry result to track.Method Detail |
---|
public void addJobTracker(JobTracker jobTracker)
public JobTracker getJobTracker(int i)
public int nrJobTrackers()
public List<JobTracker> getJobTrackers()
public void setJobTrackers(List<JobTracker> jobTrackers)
jobTrackers
- The jobTrackers to set.public JobEntryResult getJobEntryResult()
public void setJobEntryResult(JobEntryResult result)
result
- The result to set.public void clear()
public JobTracker findJobTracker(JobEntryCopy jobEntryCopy)
jobEntryCopy
- The entry to search the job tracker for
public JobTracker getParentJobTracker()
public void setParentJobTracker(JobTracker parentJobTracker)
parentJobTracker
- The parentJobTracker to set.public int getTotalNumberOfItems()
public String getJobFilename()
public void setJobFilename(String jobFilename)
jobFilename
- the jobFilename to setpublic String getJobName()
public void setJobName(String jobName)
jobName
- the jobName to setpublic int getMaxChildren()
public void setMaxChildren(int maxChildren)
maxChildren
- the maxChildren to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |