public interface JobOperations
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.PagedModel<JobExecutionResource> |
executionList() |
org.springframework.hateoas.PagedModel<JobExecutionResource> |
executionListByJobName(String jobName)
List job executions known to the system filtered by job name.
|
void |
executionRestart(long id)
Restarts a job by id
|
org.springframework.hateoas.PagedModel<JobExecutionThinResource> |
executionThinList() |
org.springframework.hateoas.PagedModel<JobExecutionThinResource> |
executionThinListByJobName(String jobName)
List job executions without step executions known to the system filtered by job name.
|
org.springframework.hateoas.PagedModel<JobInstanceResource> |
instanceList(String jobName) |
JobExecutionResource |
jobExecution(long id)
Return the
JobExecutionResource for the id specified. |
JobInstanceResource |
jobInstance(long id)
Return the
JobInstanceResource for the id specified. |
org.springframework.hateoas.PagedModel<StepExecutionResource> |
stepExecutionList(long jobExecutionId)
List step executions known for a specific job execution id.
|
StepExecutionProgressInfoResource |
stepExecutionProgress(long jobExecutionId,
long stepExecutionId)
Return StepExecutionProgressInfoResource for a specific job execution id and step
execution Id.
|
org.springframework.hateoas.PagedModel<JobExecutionResource> executionList()
void executionRestart(long id)
id - job execution idorg.springframework.hateoas.PagedModel<JobExecutionThinResource> executionThinList()
org.springframework.hateoas.PagedModel<JobInstanceResource> instanceList(String jobName)
jobName - the name of the joborg.springframework.hateoas.PagedModel<JobExecutionThinResource> executionThinListByJobName(String jobName)
jobName - of the executions.org.springframework.hateoas.PagedModel<JobExecutionResource> executionListByJobName(String jobName)
jobName - of the executions.JobExecutionResource jobExecution(long id)
JobExecutionResource for the id specified.id - identifier of the job executionJobExecutionResourceJobInstanceResource jobInstance(long id)
JobInstanceResource for the id specified.id - identifier of the job instasnceJobInstanceResourceorg.springframework.hateoas.PagedModel<StepExecutionResource> stepExecutionList(long jobExecutionId)
jobExecutionId - the id of the job execution.StepExecutionProgressInfoResource stepExecutionProgress(long jobExecutionId, long stepExecutionId)
jobExecutionId - the id of the job execution for the step to be returned.stepExecutionId - the id step execution to be returned.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.