public interface Tasks
Modifier and Type | Method and Description |
---|---|
void |
add(String jobId,
TaskAddParameter task)
Adds a task to the specified job.
|
void |
add(String jobId,
TaskAddParameter task,
TaskAddOptions taskAddOptions)
Adds a task to the specified job.
|
rx.Observable<Void> |
addAsync(String jobId,
TaskAddParameter task)
Adds a task to the specified job.
|
ServiceFuture<Void> |
addAsync(String jobId,
TaskAddParameter task,
ServiceCallback<Void> serviceCallback)
Adds a task to the specified job.
|
rx.Observable<Void> |
addAsync(String jobId,
TaskAddParameter task,
TaskAddOptions taskAddOptions)
Adds a task to the specified job.
|
ServiceFuture<Void> |
addAsync(String jobId,
TaskAddParameter task,
TaskAddOptions taskAddOptions,
ServiceCallback<Void> serviceCallback)
Adds a task to the specified job.
|
TaskAddCollectionResult |
addCollection(String jobId,
List<TaskAddParameter> value)
Adds a collection of tasks to the specified job.
|
TaskAddCollectionResult |
addCollection(String jobId,
List<TaskAddParameter> value,
TaskAddCollectionOptions taskAddCollectionOptions)
Adds a collection of tasks to the specified job.
|
rx.Observable<TaskAddCollectionResult> |
addCollectionAsync(String jobId,
List<TaskAddParameter> value)
Adds a collection of tasks to the specified job.
|
ServiceFuture<TaskAddCollectionResult> |
addCollectionAsync(String jobId,
List<TaskAddParameter> value,
ServiceCallback<TaskAddCollectionResult> serviceCallback)
Adds a collection of tasks to the specified job.
|
rx.Observable<TaskAddCollectionResult> |
addCollectionAsync(String jobId,
List<TaskAddParameter> value,
TaskAddCollectionOptions taskAddCollectionOptions)
Adds a collection of tasks to the specified job.
|
ServiceFuture<TaskAddCollectionResult> |
addCollectionAsync(String jobId,
List<TaskAddParameter> value,
TaskAddCollectionOptions taskAddCollectionOptions,
ServiceCallback<TaskAddCollectionResult> serviceCallback)
Adds a collection of tasks to the specified job.
|
rx.Observable<ServiceResponseWithHeaders<TaskAddCollectionResult,TaskAddCollectionHeaders>> |
addCollectionWithServiceResponseAsync(String jobId,
List<TaskAddParameter> value)
Adds a collection of tasks to the specified job.
|
rx.Observable<ServiceResponseWithHeaders<TaskAddCollectionResult,TaskAddCollectionHeaders>> |
addCollectionWithServiceResponseAsync(String jobId,
List<TaskAddParameter> value,
TaskAddCollectionOptions taskAddCollectionOptions)
Adds a collection of tasks to the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskAddHeaders>> |
addWithServiceResponseAsync(String jobId,
TaskAddParameter task)
Adds a task to the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskAddHeaders>> |
addWithServiceResponseAsync(String jobId,
TaskAddParameter task,
TaskAddOptions taskAddOptions)
Adds a task to the specified job.
|
void |
delete(String jobId,
String taskId)
Deletes a task from the specified job.
|
void |
delete(String jobId,
String taskId,
TaskDeleteOptions taskDeleteOptions)
Deletes a task from the specified job.
|
rx.Observable<Void> |
deleteAsync(String jobId,
String taskId)
Deletes a task from the specified job.
|
ServiceFuture<Void> |
deleteAsync(String jobId,
String taskId,
ServiceCallback<Void> serviceCallback)
Deletes a task from the specified job.
|
rx.Observable<Void> |
deleteAsync(String jobId,
String taskId,
TaskDeleteOptions taskDeleteOptions)
Deletes a task from the specified job.
|
ServiceFuture<Void> |
deleteAsync(String jobId,
String taskId,
TaskDeleteOptions taskDeleteOptions,
ServiceCallback<Void> serviceCallback)
Deletes a task from the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskDeleteHeaders>> |
deleteWithServiceResponseAsync(String jobId,
String taskId)
Deletes a task from the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskDeleteHeaders>> |
deleteWithServiceResponseAsync(String jobId,
String taskId,
TaskDeleteOptions taskDeleteOptions)
Deletes a task from the specified job.
|
CloudTask |
get(String jobId,
String taskId)
Gets information about the specified task.
|
CloudTask |
get(String jobId,
String taskId,
TaskGetOptions taskGetOptions)
Gets information about the specified task.
|
rx.Observable<CloudTask> |
getAsync(String jobId,
String taskId)
Gets information about the specified task.
|
ServiceFuture<CloudTask> |
getAsync(String jobId,
String taskId,
ServiceCallback<CloudTask> serviceCallback)
Gets information about the specified task.
|
rx.Observable<CloudTask> |
getAsync(String jobId,
String taskId,
TaskGetOptions taskGetOptions)
Gets information about the specified task.
|
ServiceFuture<CloudTask> |
getAsync(String jobId,
String taskId,
TaskGetOptions taskGetOptions,
ServiceCallback<CloudTask> serviceCallback)
Gets information about the specified task.
|
rx.Observable<ServiceResponseWithHeaders<CloudTask,TaskGetHeaders>> |
getWithServiceResponseAsync(String jobId,
String taskId)
Gets information about the specified task.
|
rx.Observable<ServiceResponseWithHeaders<CloudTask,TaskGetHeaders>> |
getWithServiceResponseAsync(String jobId,
String taskId,
TaskGetOptions taskGetOptions)
Gets information about the specified task.
|
PagedList<CloudTask> |
list(String jobId)
Lists all of the tasks that are associated with the specified job.
|
PagedList<CloudTask> |
list(String jobId,
TaskListOptions taskListOptions)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<Page<CloudTask>> |
listAsync(String jobId)
Lists all of the tasks that are associated with the specified job.
|
ServiceFuture<List<CloudTask>> |
listAsync(String jobId,
ListOperationCallback<CloudTask> serviceCallback)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<Page<CloudTask>> |
listAsync(String jobId,
TaskListOptions taskListOptions)
Lists all of the tasks that are associated with the specified job.
|
ServiceFuture<List<CloudTask>> |
listAsync(String jobId,
TaskListOptions taskListOptions,
ListOperationCallback<CloudTask> serviceCallback)
Lists all of the tasks that are associated with the specified job.
|
PagedList<CloudTask> |
listNext(String nextPageLink)
Lists all of the tasks that are associated with the specified job.
|
PagedList<CloudTask> |
listNext(String nextPageLink,
TaskListNextOptions taskListNextOptions)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<Page<CloudTask>> |
listNextAsync(String nextPageLink)
Lists all of the tasks that are associated with the specified job.
|
ServiceFuture<List<CloudTask>> |
listNextAsync(String nextPageLink,
ServiceFuture<List<CloudTask>> serviceFuture,
ListOperationCallback<CloudTask> serviceCallback)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<Page<CloudTask>> |
listNextAsync(String nextPageLink,
TaskListNextOptions taskListNextOptions)
Lists all of the tasks that are associated with the specified job.
|
ServiceFuture<List<CloudTask>> |
listNextAsync(String nextPageLink,
TaskListNextOptions taskListNextOptions,
ServiceFuture<List<CloudTask>> serviceFuture,
ListOperationCallback<CloudTask> serviceCallback)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> |
listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> |
listNextWithServiceResponseAsync(String nextPageLink,
TaskListNextOptions taskListNextOptions)
Lists all of the tasks that are associated with the specified job.
|
CloudTaskListSubtasksResult |
listSubtasks(String jobId,
String taskId)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
CloudTaskListSubtasksResult |
listSubtasks(String jobId,
String taskId,
TaskListSubtasksOptions taskListSubtasksOptions)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
rx.Observable<CloudTaskListSubtasksResult> |
listSubtasksAsync(String jobId,
String taskId)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
ServiceFuture<CloudTaskListSubtasksResult> |
listSubtasksAsync(String jobId,
String taskId,
ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
rx.Observable<CloudTaskListSubtasksResult> |
listSubtasksAsync(String jobId,
String taskId,
TaskListSubtasksOptions taskListSubtasksOptions)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
ServiceFuture<CloudTaskListSubtasksResult> |
listSubtasksAsync(String jobId,
String taskId,
TaskListSubtasksOptions taskListSubtasksOptions,
ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
rx.Observable<ServiceResponseWithHeaders<CloudTaskListSubtasksResult,TaskListSubtasksHeaders>> |
listSubtasksWithServiceResponseAsync(String jobId,
String taskId)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
rx.Observable<ServiceResponseWithHeaders<CloudTaskListSubtasksResult,TaskListSubtasksHeaders>> |
listSubtasksWithServiceResponseAsync(String jobId,
String taskId,
TaskListSubtasksOptions taskListSubtasksOptions)
Lists all of the subtasks that are associated with the specified multi-instance task.
|
rx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> |
listWithServiceResponseAsync(String jobId)
Lists all of the tasks that are associated with the specified job.
|
rx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> |
listWithServiceResponseAsync(String jobId,
TaskListOptions taskListOptions)
Lists all of the tasks that are associated with the specified job.
|
void |
reactivate(String jobId,
String taskId)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
void |
reactivate(String jobId,
String taskId,
TaskReactivateOptions taskReactivateOptions)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
rx.Observable<Void> |
reactivateAsync(String jobId,
String taskId)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
ServiceFuture<Void> |
reactivateAsync(String jobId,
String taskId,
ServiceCallback<Void> serviceCallback)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
rx.Observable<Void> |
reactivateAsync(String jobId,
String taskId,
TaskReactivateOptions taskReactivateOptions)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
ServiceFuture<Void> |
reactivateAsync(String jobId,
String taskId,
TaskReactivateOptions taskReactivateOptions,
ServiceCallback<Void> serviceCallback)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskReactivateHeaders>> |
reactivateWithServiceResponseAsync(String jobId,
String taskId)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskReactivateHeaders>> |
reactivateWithServiceResponseAsync(String jobId,
String taskId,
TaskReactivateOptions taskReactivateOptions)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
|
void |
terminate(String jobId,
String taskId)
Terminates the specified task.
|
void |
terminate(String jobId,
String taskId,
TaskTerminateOptions taskTerminateOptions)
Terminates the specified task.
|
rx.Observable<Void> |
terminateAsync(String jobId,
String taskId)
Terminates the specified task.
|
ServiceFuture<Void> |
terminateAsync(String jobId,
String taskId,
ServiceCallback<Void> serviceCallback)
Terminates the specified task.
|
rx.Observable<Void> |
terminateAsync(String jobId,
String taskId,
TaskTerminateOptions taskTerminateOptions)
Terminates the specified task.
|
ServiceFuture<Void> |
terminateAsync(String jobId,
String taskId,
TaskTerminateOptions taskTerminateOptions,
ServiceCallback<Void> serviceCallback)
Terminates the specified task.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskTerminateHeaders>> |
terminateWithServiceResponseAsync(String jobId,
String taskId)
Terminates the specified task.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskTerminateHeaders>> |
terminateWithServiceResponseAsync(String jobId,
String taskId,
TaskTerminateOptions taskTerminateOptions)
Terminates the specified task.
|
void |
update(String jobId,
String taskId)
Updates the properties of the specified task.
|
void |
update(String jobId,
String taskId,
TaskConstraints constraints,
TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified task.
|
rx.Observable<Void> |
updateAsync(String jobId,
String taskId)
Updates the properties of the specified task.
|
ServiceFuture<Void> |
updateAsync(String jobId,
String taskId,
ServiceCallback<Void> serviceCallback)
Updates the properties of the specified task.
|
rx.Observable<Void> |
updateAsync(String jobId,
String taskId,
TaskConstraints constraints,
TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified task.
|
ServiceFuture<Void> |
updateAsync(String jobId,
String taskId,
TaskConstraints constraints,
TaskUpdateOptions taskUpdateOptions,
ServiceCallback<Void> serviceCallback)
Updates the properties of the specified task.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskUpdateHeaders>> |
updateWithServiceResponseAsync(String jobId,
String taskId)
Updates the properties of the specified task.
|
rx.Observable<ServiceResponseWithHeaders<Void,TaskUpdateHeaders>> |
updateWithServiceResponseAsync(String jobId,
String taskId,
TaskConstraints constraints,
TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified task.
|
void add(String jobId, TaskAddParameter task)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> addAsync(String jobId, TaskAddParameter task, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> addAsync(String jobId, TaskAddParameter task)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskAddHeaders>> addWithServiceResponseAsync(String jobId, TaskAddParameter task)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationvoid add(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.taskAddOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> addAsync(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.taskAddOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> addAsync(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.taskAddOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskAddHeaders>> addWithServiceResponseAsync(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
jobId
- The ID of the job to which the task is to be added.task
- The task to be added.taskAddOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationPagedList<CloudTask> list(String jobId)
jobId
- The ID of the job.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<List<CloudTask>> listAsync(String jobId, ListOperationCallback<CloudTask> serviceCallback)
jobId
- The ID of the job.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Page<CloudTask>> listAsync(String jobId)
jobId
- The ID of the job.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> listWithServiceResponseAsync(String jobId)
jobId
- The ID of the job.IllegalArgumentException
- thrown if parameters fail the validationPagedList<CloudTask> list(String jobId, TaskListOptions taskListOptions)
jobId
- The ID of the job.taskListOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<List<CloudTask>> listAsync(String jobId, TaskListOptions taskListOptions, ListOperationCallback<CloudTask> serviceCallback)
jobId
- The ID of the job.taskListOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Page<CloudTask>> listAsync(String jobId, TaskListOptions taskListOptions)
jobId
- The ID of the job.taskListOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> listWithServiceResponseAsync(String jobId, TaskListOptions taskListOptions)
jobId
- The ID of the job.taskListOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationTaskAddCollectionResult addCollection(String jobId, List<TaskAddParameter> value)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<TaskAddCollectionResult> addCollectionAsync(String jobId, List<TaskAddParameter> value, ServiceCallback<TaskAddCollectionResult> serviceCallback)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<TaskAddCollectionResult> addCollectionAsync(String jobId, List<TaskAddParameter> value)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<TaskAddCollectionResult,TaskAddCollectionHeaders>> addCollectionWithServiceResponseAsync(String jobId, List<TaskAddParameter> value)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.IllegalArgumentException
- thrown if parameters fail the validationTaskAddCollectionResult addCollection(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.taskAddCollectionOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<TaskAddCollectionResult> addCollectionAsync(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions, ServiceCallback<TaskAddCollectionResult> serviceCallback)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.taskAddCollectionOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<TaskAddCollectionResult> addCollectionAsync(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.taskAddCollectionOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<TaskAddCollectionResult,TaskAddCollectionHeaders>> addCollectionWithServiceResponseAsync(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions)
jobId
- The ID of the job to which the task collection is to be added.value
- The collection of tasks to add. The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks.taskAddCollectionOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationvoid delete(String jobId, String taskId)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> deleteAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> deleteAsync(String jobId, String taskId)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskDeleteHeaders>> deleteWithServiceResponseAsync(String jobId, String taskId)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationvoid delete(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.taskDeleteOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> deleteAsync(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.taskDeleteOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> deleteAsync(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.taskDeleteOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskDeleteHeaders>> deleteWithServiceResponseAsync(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
jobId
- The ID of the job from which to delete the task.taskId
- The ID of the task to delete.taskDeleteOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationCloudTask get(String jobId, String taskId)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<CloudTask> getAsync(String jobId, String taskId, ServiceCallback<CloudTask> serviceCallback)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<CloudTask> getAsync(String jobId, String taskId)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<CloudTask,TaskGetHeaders>> getWithServiceResponseAsync(String jobId, String taskId)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.IllegalArgumentException
- thrown if parameters fail the validationCloudTask get(String jobId, String taskId, TaskGetOptions taskGetOptions)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.taskGetOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<CloudTask> getAsync(String jobId, String taskId, TaskGetOptions taskGetOptions, ServiceCallback<CloudTask> serviceCallback)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.taskGetOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<CloudTask> getAsync(String jobId, String taskId, TaskGetOptions taskGetOptions)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.taskGetOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<CloudTask,TaskGetHeaders>> getWithServiceResponseAsync(String jobId, String taskId, TaskGetOptions taskGetOptions)
jobId
- The ID of the job that contains the task.taskId
- The ID of the task to get information about.taskGetOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationvoid update(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> updateAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> updateAsync(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskUpdateHeaders>> updateWithServiceResponseAsync(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationvoid update(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.constraints
- Constraints that apply to this task. If omitted, the task is given the default constraints. For multi-instance tasks, updating the retention time applies only to the primary task and not subtasks.taskUpdateOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.constraints
- Constraints that apply to this task. If omitted, the task is given the default constraints. For multi-instance tasks, updating the retention time applies only to the primary task and not subtasks.taskUpdateOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.constraints
- Constraints that apply to this task. If omitted, the task is given the default constraints. For multi-instance tasks, updating the retention time applies only to the primary task and not subtasks.taskUpdateOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskUpdateHeaders>> updateWithServiceResponseAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to update.constraints
- Constraints that apply to this task. If omitted, the task is given the default constraints. For multi-instance tasks, updating the retention time applies only to the primary task and not subtasks.taskUpdateOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationCloudTaskListSubtasksResult listSubtasks(String jobId, String taskId)
jobId
- The ID of the job.taskId
- The ID of the task.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId, ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)
jobId
- The ID of the job.taskId
- The ID of the task.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId)
jobId
- The ID of the job.taskId
- The ID of the task.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<CloudTaskListSubtasksResult,TaskListSubtasksHeaders>> listSubtasksWithServiceResponseAsync(String jobId, String taskId)
jobId
- The ID of the job.taskId
- The ID of the task.IllegalArgumentException
- thrown if parameters fail the validationCloudTaskListSubtasksResult listSubtasks(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
jobId
- The ID of the job.taskId
- The ID of the task.taskListSubtasksOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions, ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)
jobId
- The ID of the job.taskId
- The ID of the task.taskListSubtasksOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
jobId
- The ID of the job.taskId
- The ID of the task.taskListSubtasksOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<CloudTaskListSubtasksResult,TaskListSubtasksHeaders>> listSubtasksWithServiceResponseAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
jobId
- The ID of the job.taskId
- The ID of the task.taskListSubtasksOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationvoid terminate(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> terminateAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> terminateAsync(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskTerminateHeaders>> terminateWithServiceResponseAsync(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationvoid terminate(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.taskTerminateOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> terminateAsync(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.taskTerminateOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> terminateAsync(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.taskTerminateOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskTerminateHeaders>> terminateWithServiceResponseAsync(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to terminate.taskTerminateOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationvoid reactivate(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> reactivateAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> reactivateAsync(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskReactivateHeaders>> reactivateWithServiceResponseAsync(String jobId, String taskId)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.ServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationvoid reactivate(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.taskReactivateOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> reactivateAsync(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions, ServiceCallback<Void> serviceCallback)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.taskReactivateOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> reactivateAsync(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.taskReactivateOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Void,TaskReactivateHeaders>> reactivateWithServiceResponseAsync(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
jobId
- The ID of the job containing the task.taskId
- The ID of the task to reactivate.taskReactivateOptions
- Additional parameters for the operationServiceResponseWithHeaders
object if successful.IllegalArgumentException
- thrown if parameters fail the validationPagedList<CloudTask> listNext(String nextPageLink)
nextPageLink
- The NextLink from the previous successful call to List operation.IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<List<CloudTask>> listNextAsync(String nextPageLink, ServiceFuture<List<CloudTask>> serviceFuture, ListOperationCallback<CloudTask> serviceCallback)
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Page<CloudTask>> listNextAsync(String nextPageLink)
nextPageLink
- The NextLink from the previous successful call to List operation.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)
nextPageLink
- The NextLink from the previous successful call to List operation.IllegalArgumentException
- thrown if parameters fail the validationPagedList<CloudTask> listNext(String nextPageLink, TaskListNextOptions taskListNextOptions)
nextPageLink
- The NextLink from the previous successful call to List operation.taskListNextOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<List<CloudTask>> listNextAsync(String nextPageLink, TaskListNextOptions taskListNextOptions, ServiceFuture<List<CloudTask>> serviceFuture, ListOperationCallback<CloudTask> serviceCallback)
nextPageLink
- The NextLink from the previous successful call to List operation.taskListNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Page<CloudTask>> listNextAsync(String nextPageLink, TaskListNextOptions taskListNextOptions)
nextPageLink
- The NextLink from the previous successful call to List operation.taskListNextOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponseWithHeaders<Page<CloudTask>,TaskListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, TaskListNextOptions taskListNextOptions)
nextPageLink
- The NextLink from the previous successful call to List operation.taskListNextOptions
- Additional parameters for the operationIllegalArgumentException
- thrown if parameters fail the validationCopyright © 2019. All rights reserved.