@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T15:10:39.441-05:00") public class JobApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
Job |
jobCreateJob(JobCreateRequest jobCreateRequest)
createJob
Creates and starts a new job asynchronously.
|
Job |
jobDeleteJob(String id,
JobDeleteRequest jobDeleteRequest)
deleteJob
Deletes a currently running job and preserves the job state in history.
|
Job |
jobGetJob(String id,
Boolean verbose)
getJob
Gets the details of a previously submitted job.
|
JobSummaries |
jobGetJobs(String namespace,
String jobName,
String status,
String startTime,
String endTime)
getJobs
<p>Gets a list of job executions based on the specified filter parameters.</p> <p>Jobs' namespace to which you do not have READ permissions to will be omitted from the result.</p>
|
Job |
jobSignalJob(JobSignalRequest jobSignalRequest)
signalJob
Signals the job with the receive task.
|
Job |
jobUpdateJob(String id,
JobUpdateRequest jobUpdateRequest)
updateJob
Activates or suspends a job execution.
|
void |
setApiClient(ApiClient apiClient) |
public JobApi()
public JobApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public JobSummaries jobGetJobs(String namespace, String jobName, String status, String startTime, String endTime) throws ApiException
namespace - an optional namespace filterjobName - an optional job name filterstatus - an optional job status filterstartTime - an optional start time filter (ex. 2015, 2015-12, 2015-12-12T3:4:5)endTime - an optional end time filter (ex. 2015, 2015-12, 2015-12-12T3:4:5)ApiExceptionpublic Job jobCreateJob(JobCreateRequest jobCreateRequest) throws ApiException
jobCreateRequest - the information needed to create the job.ApiExceptionpublic Job jobGetJob(String id, Boolean verbose) throws ApiException
id - the job id.verbose - ApiExceptionpublic Job jobUpdateJob(String id, JobUpdateRequest jobUpdateRequest) throws ApiException
id - the job idjobUpdateRequest - the job update requestApiExceptionpublic Job jobDeleteJob(String id, JobDeleteRequest jobDeleteRequest) throws ApiException
id - The job idjobDeleteRequest - The delete requestApiExceptionpublic Job jobSignalJob(JobSignalRequest jobSignalRequest) throws ApiException
jobSignalRequest - the information needed to signal the job.ApiExceptionCopyright © 2017. All rights reserved.