Class NullJobExplorer
java.lang.Object
com.github.marschall.spring.batch.inmemory.NullJobExplorer
- All Implemented Interfaces:
JobExplorer
Null implementation of
JobExplorer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindJobInstancesByJobName
(String jobName, int start, int count) findRunningJobExecutions
(String jobName) getJobExecution
(Long executionId) getJobExecutions
(JobInstance jobInstance) getJobInstance
(Long instanceId) getJobInstance
(String jobName, JobParameters jobParameters) long
getJobInstanceCount
(String jobName) getJobInstances
(String jobName, int start, int count) getLastJobExecution
(JobInstance jobInstance) getLastJobInstance
(String jobName) getStepExecution
(Long jobExecutionId, Long stepExecutionId)
-
Constructor Details
-
NullJobExplorer
public NullJobExplorer()
-
-
Method Details
-
getJobInstances
- Specified by:
getJobInstances
in interfaceJobExplorer
-
getLastJobInstance
- Specified by:
getLastJobInstance
in interfaceJobExplorer
-
getJobExecution
- Specified by:
getJobExecution
in interfaceJobExplorer
-
getStepExecution
- Specified by:
getStepExecution
in interfaceJobExplorer
-
getJobInstance
- Specified by:
getJobInstance
in interfaceJobExplorer
-
getJobInstance
- Specified by:
getJobInstance
in interfaceJobExplorer
-
getJobExecutions
- Specified by:
getJobExecutions
in interfaceJobExplorer
-
getLastJobExecution
- Specified by:
getLastJobExecution
in interfaceJobExplorer
-
findRunningJobExecutions
- Specified by:
findRunningJobExecutions
in interfaceJobExplorer
-
getJobNames
- Specified by:
getJobNames
in interfaceJobExplorer
-
findJobInstancesByJobName
- Specified by:
findJobInstancesByJobName
in interfaceJobExplorer
-
getJobInstanceCount
- Specified by:
getJobInstanceCount
in interfaceJobExplorer
- Throws:
NoSuchJobException
-