Class NullJobRepository
java.lang.Object
com.github.marschall.spring.batch.inmemory.NullJobRepository
- All Implemented Interfaces:
JobRepository
Null implementation of
JobExplorer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(StepExecution stepExecution) void
addAll
(Collection<StepExecution> stepExecutions) createJobExecution
(String jobName, JobParameters jobParameters) createJobInstance
(String jobName, JobParameters jobParameters) getLastJobExecution
(String jobName, JobParameters jobParameters) getLastStepExecution
(JobInstance jobInstance, String stepName) long
getStepExecutionCount
(JobInstance jobInstance, String stepName) boolean
isJobInstanceExists
(String jobName, JobParameters jobParameters) void
update
(JobExecution jobExecution) void
update
(StepExecution stepExecution) void
updateExecutionContext
(JobExecution jobExecution) void
updateExecutionContext
(StepExecution stepExecution) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.batch.core.repository.JobRepository
deleteJobExecution, deleteJobInstance, deleteStepExecution, findJobExecutions, findJobInstancesByName, getJobInstance, getJobNames
-
Constructor Details
-
NullJobRepository
public NullJobRepository()
-
-
Method Details
-
isJobInstanceExists
- Specified by:
isJobInstanceExists
in interfaceJobRepository
-
createJobInstance
- Specified by:
createJobInstance
in interfaceJobRepository
-
createJobExecution
- Specified by:
createJobExecution
in interfaceJobRepository
-
update
- Specified by:
update
in interfaceJobRepository
-
add
- Specified by:
add
in interfaceJobRepository
-
addAll
- Specified by:
addAll
in interfaceJobRepository
-
update
- Specified by:
update
in interfaceJobRepository
-
updateExecutionContext
- Specified by:
updateExecutionContext
in interfaceJobRepository
-
updateExecutionContext
- Specified by:
updateExecutionContext
in interfaceJobRepository
-
getLastStepExecution
- Specified by:
getLastStepExecution
in interfaceJobRepository
-
getStepExecutionCount
- Specified by:
getStepExecutionCount
in interfaceJobRepository
-
getLastJobExecution
- Specified by:
getLastJobExecution
in interfaceJobRepository
-