Tasks.listSubtasksAsync 方法

定义

重载

listSubtasksAsync(String jobId, String taskId)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

listSubtasksAsync(String jobId, String taskId, final ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions, final ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

listSubtasksAsync(String jobId, String taskId)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

public Observable<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId)

参数

jobId
String

The ID of the job.

taskId
String

The ID of the task.

返回

the observable to the CloudTaskListSubtasksResult object

例外

IllegalArgumentException

thrown if parameters fail the validation

listSubtasksAsync(String jobId, String taskId, final ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

public ServiceFuture<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId, final ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)

参数

jobId
String

The ID of the job.

taskId
String

The ID of the task.

serviceCallback
final ServiceCallback<CloudTaskListSubtasksResult>

the async ServiceCallback to handle successful and failed responses.

返回

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

public Observable<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)

参数

jobId
String

The ID of the job.

taskId
String

The ID of the task.

taskListSubtasksOptions
TaskListSubtasksOptions

Additional parameters for the operation

返回

the observable to the CloudTaskListSubtasksResult object

例外

IllegalArgumentException

thrown if parameters fail the validation

listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions, final ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)

Lists all of the subtasks that are associated with the specified multi-instance task. If the task is not a multi-instance task then this returns an empty collection.

public ServiceFuture<CloudTaskListSubtasksResult> listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions, final ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)

参数

jobId
String

The ID of the job.

taskId
String

The ID of the task.

taskListSubtasksOptions
TaskListSubtasksOptions

Additional parameters for the operation

serviceCallback
final ServiceCallback<CloudTaskListSubtasksResult>

the async ServiceCallback to handle successful and failed responses.

返回

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

适用于