public interface SearchableStepExecutionDao
extends org.springframework.batch.core.repository.dao.StepExecutionDao
StepExecutionDao
interface to add additional search
features.Modifier and Type | Method and Description |
---|---|
int |
countStepExecutions(String jobName,
String stepName)
Count all the step executions for a given step name pattern.
|
Collection<org.springframework.batch.core.StepExecution> |
findStepExecutions(String jobName,
String stepName,
int start,
int count)
Find all the step executions for a given step name, or step name pattern
(with wildcards specified as '*') sorted in descending order of id.
|
Collection<String> |
findStepNamesForJobExecution(String jobName,
String excludesPattern)
Find all the names of steps that have been executed as part of this job.
|
Collection<String> findStepNamesForJobExecution(String jobName, String excludesPattern)
jobName
- the name of the job to search forexcludesPattern
- a pattern for step names to excludeCollection<org.springframework.batch.core.StepExecution> findStepExecutions(String jobName, String stepName, int start, int count)
jobName
- the job name or patternstepName
- the step name or patternstart
- the start index of the step executions to returncount
- the maximum number of step executions to returnCopyright © 2015. All rights reserved.