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 JobOperations
public void executionRestart(long id, String schemaTarget)
JobOperations
executionRestart
in interface JobOperations
id
- job execution idschemaTarget
- the schema target for the job executionpublic org.springframework.hateoas.PagedModel<JobExecutionThinResource> executionThinList()
executionThinList
in interface JobOperations
public org.springframework.hateoas.PagedModel<JobInstanceResource> instanceList(String jobName)
instanceList
in interface JobOperations
jobName
- the name of the jobpublic org.springframework.hateoas.PagedModel<JobExecutionThinResource> executionThinListByJobName(String jobName)
JobOperations
executionThinListByJobName
in interface JobOperations
jobName
- of the executions.public org.springframework.hateoas.PagedModel<JobExecutionResource> executionListByJobName(String jobName)
JobOperations
executionListByJobName
in interface JobOperations
jobName
- of the executions.public JobExecutionResource jobExecution(long id, String schemaTarget)
JobOperations
JobExecutionResource
for the id specified.jobExecution
in interface JobOperations
id
- identifier of the job executionschemaTarget
- the schema target for the job executionJobExecutionResource
public JobInstanceResource jobInstance(long id, String schemaTarget)
JobOperations
JobInstanceResource
for the id specified.jobInstance
in interface JobOperations
id
- identifier of the job instanceschemaTarget
- the schema target for the job instanceJobInstanceResource
public org.springframework.hateoas.PagedModel<StepExecutionResource> stepExecutionList(long jobExecutionId, String schemaTarget)
JobOperations
stepExecutionList
in interface JobOperations
jobExecutionId
- the id of the job execution.schemaTarget
- the schema target for the job executionpublic StepExecutionProgressInfoResource stepExecutionProgress(long jobExecutionId, long stepExecutionId, String schemaTarget)
JobOperations
stepExecutionProgress
in interface JobOperations
jobExecutionId
- 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 © 2024 Pivotal Software, Inc.. All rights reserved.