public class JobExecutionServiceImpl extends BaseSaharaServices implements JobExecutionService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
JobExecutionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
JobExecution |
cancel(String jobExecutionId)
Cancel a job execution by ID
|
JobExecution |
create(JobExecution jobExecution)
Create a new job execution
|
ActionResponse |
delete(String jobExecutionId)
Delete a job execution by ID
|
JobExecution |
get(String jobExecutionId)
Get a job execution by ID
|
List<? extends JobExecution> |
list()
List all job executions
|
JobExecution |
refreshStatus(String jobExecutionId)
Refresh the status of a job execution by ID
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public JobExecution create(JobExecution jobExecution)
JobExecutionService
create
in interface JobExecutionService
jobExecution
- the job execution to createpublic List<? extends JobExecution> list()
JobExecutionService
list
in interface JobExecutionService
public JobExecution get(String jobExecutionId)
JobExecutionService
get
in interface JobExecutionService
jobExecutionId
- the job execution identifierpublic JobExecution refreshStatus(String jobExecutionId)
JobExecutionService
refreshStatus
in interface JobExecutionService
jobExecutionId
- the job execution identifierpublic JobExecution cancel(String jobExecutionId)
JobExecutionService
cancel
in interface JobExecutionService
jobExecutionId
- the job execution identifierpublic ActionResponse delete(String jobExecutionId)
JobExecutionService
delete
in interface JobExecutionService
jobExecutionId
- the job execution identifierCopyright © 2017. All rights reserved.