public class JobTemplate extends Object implements JobOperations
JobOperations.| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.PagedResources<JobExecutionResource> |
executionList()
List job executions known to the system.
|
org.springframework.hateoas.PagedResources<JobExecutionResource> |
executionListByJobName(String jobName)
List job executions known to the system filtered by job name.
|
org.springframework.hateoas.PagedResources<JobInstanceResource> |
instanceList(String jobName)
List job instances for the specified 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.PagedResources<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.PagedResources<JobExecutionResource> executionList()
JobOperationsexecutionList in interface JobOperationspublic org.springframework.hateoas.PagedResources<JobInstanceResource> instanceList(String jobName)
JobOperationsinstanceList in interface JobOperationspublic org.springframework.hateoas.PagedResources<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.PagedResources<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 © 2016 Pivotal Software, Inc.. All rights reserved.