public class JobServiceImpl extends BaseSaharaServices implements JobService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
JobServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Job |
create(Job job)
Create a new job
|
ActionResponse |
delete(String JobId)
Delete the specified job
|
Job |
get(String JobId)
Get a job by ID
|
JobConfigHint |
getConfigHint(String type)
Get Job Configuration Hints
|
List<? extends Job> |
list()
List all jobs
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Job> list()
list
in interface JobService
public Job get(String JobId)
get
in interface JobService
JobId
- the job identifierpublic Job create(Job job)
create
in interface JobService
job
- the job to createpublic ActionResponse delete(String JobId)
delete
in interface JobService
JobId
- the job identifierpublic JobConfigHint getConfigHint(String type)
getConfigHint
in interface JobService
type
- the job typeCopyright © 2017. All rights reserved.