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,
String schemaTarget)
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,
String schemaTarget)
Return the
JobExecutionResource for the id specified. |
JobInstanceResource |
jobInstance(long id,
String schemaTarget)
Return the
JobInstanceResource for the id specified. |
org.springframework.hateoas.PagedModel<StepExecutionResource> |
stepExecutionList(long jobExecutionId,
String schemaTarget)
List step executions known for a specific job execution id.
|
StepExecutionProgressInfoResource |
stepExecutionProgress(long jobExecutionId,
long stepExecutionId,
String schemaTarget)
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,
String schemaTarget)
JobOperationsexecutionRestart in interface JobOperationsid - job execution idschemaTarget - the schema target for the job executionpublic 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, String schemaTarget)
JobOperationsJobExecutionResource for the id specified.jobExecution in interface JobOperationsid - identifier of the job executionschemaTarget - the schema target for the job executionJobExecutionResourcepublic JobInstanceResource jobInstance(long id, String schemaTarget)
JobOperationsJobInstanceResource for the id specified.jobInstance in interface JobOperationsid - identifier of the job instanceschemaTarget - the schema target for the job instanceJobInstanceResourcepublic org.springframework.hateoas.PagedModel<StepExecutionResource> stepExecutionList(long jobExecutionId, String schemaTarget)
JobOperationsstepExecutionList in interface JobOperationsjobExecutionId - the id of the job execution.schemaTarget - the schema target for the job executionpublic StepExecutionProgressInfoResource stepExecutionProgress(long jobExecutionId, long stepExecutionId, String schemaTarget)
JobOperationsstepExecutionProgress in interface JobOperationsjobExecutionId - the id of the job execution for the step to be returned.stepExecutionId - the id step execution to be returned.schemaTarget - the schema target of the job execution.Copyright © 2023 Pivotal Software, Inc.. All rights reserved.