com.ibm.batch.container.services.impl
Class JobOperatorImpl
java.lang.Object
com.ibm.batch.container.services.impl.JobOperatorImpl
- All Implemented Interfaces:
- JobOperator
public class JobOperatorImpl
- extends Object
- implements JobOperator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobOperatorImpl
public JobOperatorImpl()
getExecutions
public List<Long> getExecutions(long instanceId)
throws NoSuchJobInstanceException
- Specified by:
getExecutions in interface JobOperator
- Throws:
NoSuchJobInstanceException
getJobInstanceCount
public int getJobInstanceCount(String jobName)
throws NoSuchJobException
- Specified by:
getJobInstanceCount in interface JobOperator
- Throws:
NoSuchJobException
getJobNames
public Set<String> getJobNames()
- Specified by:
getJobNames in interface JobOperator
getParameters
public Properties getParameters(long executionId)
throws NoSuchJobExecutionException
- Specified by:
getParameters in interface JobOperator
- Throws:
NoSuchJobExecutionException
restart
public Long restart(long instanceId,
Properties jobParameters)
throws JobInstanceAlreadyCompleteException,
NoSuchJobExecutionException,
NoSuchJobException,
JobRestartException
- Specified by:
restart in interface JobOperator
- Throws:
JobInstanceAlreadyCompleteException
NoSuchJobExecutionException
NoSuchJobException
JobRestartException
start
public Long start(String jobXML,
Properties jobParameters)
throws JobStartException
- Specified by:
start in interface JobOperator
- Throws:
JobStartException
stop
public void stop(long instanceId)
throws NoSuchJobExecutionException,
JobExecutionNotRunningException
- Specified by:
stop in interface JobOperator
- Throws:
NoSuchJobExecutionException
JobExecutionNotRunningException
getJobExecution
public JobExecution getJobExecution(long executionId)
- Specified by:
getJobExecution in interface JobOperator
getStepExecution
public StepExecution getStepExecution(long jobExecutionId,
long stepExecutionId)
- Specified by:
getStepExecution in interface JobOperator
getJobSteps
public List<StepExecution> getJobSteps(long jobExecutionId)
- Specified by:
getJobSteps in interface JobOperator
getJobExecutions
public List<JobExecution> getJobExecutions(long instanceId)
- Specified by:
getJobExecutions in interface JobOperator
getJobInstanceIds
public List<Long> getJobInstanceIds(String jobName,
int start,
int count)
throws NoSuchJobException
- Specified by:
getJobInstanceIds in interface JobOperator
- Throws:
NoSuchJobException
getRunningInstanceIds
public Set<Long> getRunningInstanceIds(String jobName)
throws NoSuchJobException
- Specified by:
getRunningInstanceIds in interface JobOperator
- Throws:
NoSuchJobException
abandon
public void abandon(long instanceId)
throws NoSuchJobExecutionException,
JobExecutionIsRunningException
- Specified by:
abandon in interface JobOperator
- Throws:
NoSuchJobExecutionException
JobExecutionIsRunningException
getJobInstance
public JobInstance getJobInstance(long instanceId)
- Specified by:
getJobInstance in interface JobOperator
Copyright © 2013. All Rights Reserved.