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(java.lang.String jobName,
java.lang.String stepName)
Count all the step executions for a given step name pattern.
|
java.util.Collection<org.springframework.batch.core.StepExecution> |
findStepExecutions(java.lang.String jobName,
java.lang.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.
|
java.util.Collection<java.lang.String> |
findStepNamesForJobExecution(java.lang.String jobName,
java.lang.String excludesPattern)
Find all the names of steps that have been executed as part of this job.
|
java.util.Collection<java.lang.String> findStepNamesForJobExecution(java.lang.String jobName,
java.lang.String excludesPattern)
jobName - the name of the job to search forexcludesPattern - a pattern for step names to excludejava.util.Collection<org.springframework.batch.core.StepExecution> findStepExecutions(java.lang.String jobName,
java.lang.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 returnint countStepExecutions(java.lang.String jobName,
java.lang.String stepName)
jobName - the job name patternstepName - the step name pattern.Copyright © 2015. All Rights Reserved.