public class JobTemplate extends Object implements JobOperations
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.
|
public org.springframework.hateoas.PagedModel<JobExecutionResource> executionList()
executionList in interface JobOperationspublic void executionRestart(long id)
JobOperationsexecutionRestart in interface JobOperationsid - job execution idpublic org.springframework.hateoas.PagedModel<JobExecutionThinResource> executionThinList()
executionThinList in interface JobOperationspublic org.springframework.hateoas.PagedModel<JobInstanceResource> instanceList(String jobName)
instanceList in interface JobOperationsjobName - the name of the jobpublic org.springframework.hateoas.PagedModel<JobExecutionThinResource> executionThinListByJobName(String jobName)
JobOperationsexecutionThinListByJobName in interface JobOperationsjobName - of the executions.public org.springframework.hateoas.PagedModel<JobExecutionResource> executionListByJobName(String jobName)
JobOperationsexecutionListByJobName in interface JobOperationsjobName - of the executions.public JobExecutionResource jobExecution(long id)
JobOperationsJobExecutionResource for the id specified.jobExecution in interface JobOperationsid - identifier of the job executionJobExecutionResourcepublic JobInstanceResource jobInstance(long id)
JobOperationsJobInstanceResource for the id specified.jobInstance in interface JobOperationsid - identifier of the job instasnceJobInstanceResourcepublic org.springframework.hateoas.PagedModel<StepExecutionResource> stepExecutionList(long jobExecutionId)
JobOperationsstepExecutionList in interface JobOperationsjobExecutionId - the id of the job execution.public StepExecutionProgressInfoResource stepExecutionProgress(long jobExecutionId, long stepExecutionId)
JobOperationsstepExecutionProgress in interface JobOperationsjobExecutionId - 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.