Package org.pentaho.di.www
Class JobMap
java.lang.Object
org.pentaho.di.www.JobMap
This is a map between the job name and the (running/waiting/finished) job.
- Since:
- 26-SEP-2007, 3.0.0
- Author:
- Matt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJob
(String jobName, String carteObjectId, Job job, JobConfiguration jobConfiguration) Find a job using the container/carte object ID.getConfiguration
(String jobName) getConfiguration
(CarteObjectEntry entry) getFirstCarteObjectEntry
(String jobName) Find the first job in the list that comes to mind!getJob
(CarteObjectEntry entry) getUniqueCarteObjectEntry
(String jobName) void
registerJob
(Job job, JobConfiguration jobConfiguration) void
removeJob
(CarteObjectEntry entry) void
replaceJob
(CarteObjectEntry entry, Job job, JobConfiguration jobConfiguration) void
setSlaveServerConfig
(SlaveServerConfig slaveServerConfig)
-
Constructor Details
-
JobMap
public JobMap()
-
-
Method Details
-
addJob
public void addJob(String jobName, String carteObjectId, Job job, JobConfiguration jobConfiguration) -
registerJob
-
replaceJob
-
getJob
Find the first job in the list that comes to mind!- Parameters:
jobName
-- Returns:
- the first transformation with the specified name
-
getJob
- Parameters:
entry
- The Carte job object- Returns:
- the job with the specified entry
-
getConfiguration
-
getConfiguration
- Parameters:
entry
- The Carte job object- Returns:
- the job configuration with the specified entry
-
removeJob
-
getJobObjects
-
getFirstCarteObjectEntry
-
getUniqueCarteObjectEntry
- Throws:
DuplicateKeyException
-
getSlaveServerConfig
- Returns:
- the slaveServerConfig
-
setSlaveServerConfig
- Parameters:
slaveServerConfig
- the slaveServerConfig to set
-
findJob
Find a job using the container/carte object ID.- Parameters:
id
- the container/carte object ID- Returns:
- The job if it's found, null if the ID couldn't be found in the job map.
-