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,
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.
|
org.springframework.hateoas.PagedModel<JobExecutionResource> executionList()
void executionRestart(long id,
String schemaTarget)
id - job execution idschemaTarget - the schema target for the job executionorg.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, String schemaTarget)
JobExecutionResource for the id specified.id - identifier of the job executionschemaTarget - the schema target for the job executionJobExecutionResourceJobInstanceResource jobInstance(long id, String schemaTarget)
JobInstanceResource for the id specified.id - identifier of the job instanceschemaTarget - the schema target for the job instanceJobInstanceResourceorg.springframework.hateoas.PagedModel<StepExecutionResource> stepExecutionList(long jobExecutionId, String schemaTarget)
jobExecutionId - the id of the job execution.schemaTarget - the schema target for the job executionStepExecutionProgressInfoResource stepExecutionProgress(long jobExecutionId, long stepExecutionId, String schemaTarget)
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 © 2023 Pivotal Software, Inc.. All rights reserved.