
public abstract class AbstractRepository extends Object implements JobRepository
| Constructor and Description |
|---|
AbstractRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
addJob(ApplicationAndJobName applicationAndJobName,
Job job) |
void |
addPartitionExecution(StepExecutionImpl enclosingStepExecution,
PartitionExecutionImpl partitionExecution) |
void |
addStepExecution(JobExecutionImpl jobExecution,
StepExecutionImpl stepExecution) |
StepExecutionImpl |
createStepExecution(String stepName) |
Job |
getJob(ApplicationAndJobName applicationAndJobName) |
Set<String> |
getJobNames()
Gets all the job names from the job repository.
|
List<PartitionExecutionImpl> |
getPartitionExecutions(long stepExecutionId,
StepExecutionImpl stepExecution,
boolean notCompletedOnly,
ClassLoader classLoader) |
boolean |
jobExists(String jobName)
Checks if a job with the specified
jobName exists or not. |
void |
removeJob(String jobId) |
void |
savePersistentData(javax.batch.runtime.JobExecution jobExecution,
AbstractStepExecution stepOrPartitionExecution) |
void |
updateJobExecution(JobExecutionImpl jobExecution,
boolean fullUpdate,
boolean saveJobParameters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountStepStartTimes, createJobExecution, createJobInstance, findOriginalStepExecutionForRestart, getJobExecution, getJobExecutions, getJobInstance, getJobInstanceCount, getJobInstances, getRunningExecutions, getStepExecutions, removeJobExecutions, removeJobInstance, updateStepExecutionpublic void addJob(ApplicationAndJobName applicationAndJobName, Job job)
addJob in interface JobRepositorypublic Job getJob(ApplicationAndJobName applicationAndJobName)
getJob in interface JobRepositorypublic boolean jobExists(String jobName)
JobRepositoryjobName exists or not.jobExists in interface JobRepositoryjobName - the job name to checkpublic Set<String> getJobNames()
JobRepositorygetJobNames in interface JobRepositorypublic void removeJob(String jobId)
removeJob in interface JobRepositorypublic StepExecutionImpl createStepExecution(String stepName)
createStepExecution in interface JobRepositorypublic void addStepExecution(JobExecutionImpl jobExecution, StepExecutionImpl stepExecution)
addStepExecution in interface JobRepositorypublic void savePersistentData(javax.batch.runtime.JobExecution jobExecution,
AbstractStepExecution stepOrPartitionExecution)
savePersistentData in interface JobRepositorypublic void updateJobExecution(JobExecutionImpl jobExecution, boolean fullUpdate, boolean saveJobParameters)
updateJobExecution in interface JobRepositorypublic void addPartitionExecution(StepExecutionImpl enclosingStepExecution, PartitionExecutionImpl partitionExecution)
addPartitionExecution in interface JobRepositorypublic List<PartitionExecutionImpl> getPartitionExecutions(long stepExecutionId, StepExecutionImpl stepExecution, boolean notCompletedOnly, ClassLoader classLoader)
getPartitionExecutions in interface JobRepositoryCopyright © 2016 JBoss by Red Hat. All rights reserved.