modzyClient.getJobClient().cancelJob
Cancel a job
modzyClient.getJobClient().cancelJob(String jobId)
Sends a job cancelation requites to the server
Parameter
Parameter | Type | Description | Example |
---|---|---|---|
jobId | java.lang.String | Job identifier | '14856eb1-0ad8-49e7-9da3-887acb80fea5' |
Returns
com.modzy.sdk.model.Job
object with the job status obtained from the server
Examples
Job job = modzyClient.getJobClient().cancelJob("14856eb1-0ad8-49e7-9da3-887acb80fea5");
System.out.println(String.format(" %s", job));
Updated almost 2 years ago