TaskOperations.createTasks Method

Definition

Overloads

createTasks(String jobId, List<TaskAddParameter> taskList)

Adds multiple tasks to a job.

createTasks(String jobId, List<TaskAddParameter> taskList, Iterable<BatchClientBehavior> additionalBehaviors)

Adds multiple tasks to a job.

createTasks(String jobId, List<TaskAddParameter> taskList)

Adds multiple tasks to a job.

public void createTasks(String jobId, List<TaskAddParameter> taskList)

Parameters

jobId
java.lang.String

The ID of the job to which to add the task.

taskList
java.util.List<TaskAddParameter>

A list of TaskAddParameter to add.

Exceptions

java.lang.RuntimeException

Exception thrown when an error response is received from the Batch service or any network exception.

java.lang.InterruptedException

Exception thrown when an error response is received from the Batch service or any network exception.

createTasks(String jobId, List<TaskAddParameter> taskList, Iterable<BatchClientBehavior> additionalBehaviors)

Adds multiple tasks to a job.

public void createTasks(String jobId, List<TaskAddParameter> taskList, Iterable<BatchClientBehavior> additionalBehaviors)

Parameters

jobId
java.lang.String

The ID of the job to which to add the task.

taskList
java.util.List<TaskAddParameter>

A list of TaskAddParameter to add.

additionalBehaviors
java.lang.Iterable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request.

Exceptions

java.lang.RuntimeException

Exception thrown when an error response is received from the Batch service or any network exception.

java.lang.InterruptedException

Exception thrown when an error response is received from the Batch service or any network exception.

Applies to