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.
|
int |
countStepExecutionsForJobExecution(long jobExecutionId)
Count all the step executions for a given job execution.
|
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 returnint countStepExecutions(String jobName, String stepName)
jobName
- the job name patternstepName
- the step name pattern.int countStepExecutionsForJobExecution(long jobExecutionId)
jobExecutionId
- the job execution to retrieve count from.Copyright © 2024 Pivotal Software, Inc.. All rights reserved.