|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobExplorer
Entry point for browsing executions of running or historical jobs and steps. Since the data may be re-hydrated from persistent storage, it may not contain volatile fields that would have been present when the execution was active.
| Method Summary | |
|---|---|
java.util.Set<JobExecution> |
findRunningJobExecutions(java.lang.String jobName)
|
JobExecution |
getJobExecution(java.lang.Long executionId)
Retrieve a JobExecution by its id. |
java.util.List<JobExecution> |
getJobExecutions(JobInstance jobInstance)
|
JobInstance |
getJobInstance(java.lang.Long instanceId)
|
java.util.List<JobInstance> |
getJobInstances(java.lang.String jobName,
int start,
int count)
Fetch JobInstance values in descending order of creation (and
therefore usually of first execution). |
StepExecution |
getStepExecution(java.lang.Long jobExecutionId,
java.lang.Long stepExecutionId)
Retrieve a StepExecution by its id and parent
JobExecution id. |
| Method Detail |
|---|
java.util.List<JobInstance> getJobInstances(java.lang.String jobName,
int start,
int count)
JobInstance values in descending order of creation (and
therefore usually of first execution).
jobName - the name of the job to querystart - the start index of the instances to returncount - the maximum number of instances to return
JobInstance values up to a maximum of count valuesJobExecution getJobExecution(java.lang.Long executionId)
JobExecution by its id.
executionId - the job execution id
JobExecution with this id, or null if not found
StepExecution getStepExecution(java.lang.Long jobExecutionId,
java.lang.Long stepExecutionId)
StepExecution by its id and parent
JobExecution id.
jobExecutionId - the parent job execution idstepExecutionId - the step execution id
StepExecution with this id, or null if not foundJobInstance getJobInstance(java.lang.Long instanceId)
instanceId -
JobInstance with this id, or nulljava.util.List<JobExecution> getJobExecutions(JobInstance jobInstance)
jobInstance - the JobInstance to query
JobInstancejava.util.Set<JobExecution> findRunningJobExecutions(java.lang.String jobName)
jobName - the name of the job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||