TaskDependencies Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.TaskDependencies

public class TaskDependencies

Specifies any dependencies of a Task. Any Task that is explicitly specified or within a dependency range must complete before the dependant Task will be scheduled.

Constructor Summary

Constructor Description
TaskDependencies()

Method Summary

Modifier and Type Method and Description
List<TaskIdRange> taskIdRanges()

Get the taskIdRanges value.

List<String> taskIds()

Get the taskIds collection is limited to 64000 characters total (i.e.

TaskDependencies withTaskIdRanges(List<TaskIdRange> taskIdRanges)

Set the taskIdRanges value.

TaskDependencies withTaskIds(List<String> taskIds)

Set the taskIds collection is limited to 64000 characters total (i.e.

Methods inherited from java.lang.Object

Constructor Details

TaskDependencies

public TaskDependencies()

Method Details

taskIdRanges

public List taskIdRanges()

Get the taskIdRanges value.

Returns:

the taskIdRanges value

taskIds

public List taskIds()

Get the taskIds collection is limited to 64000 characters total (i.e. the combined length of all Task IDs). If the taskIds collection exceeds the maximum length, the Add Task request fails with error code TaskDependencyListTooLong. In this case consider using Task ID ranges instead.

Returns:

the taskIds value

withTaskIdRanges

public TaskDependencies withTaskIdRanges(List taskIdRanges)

Set the taskIdRanges value.

Parameters:

taskIdRanges - the taskIdRanges value to set

Returns:

the TaskDependencies object itself.

withTaskIds

public TaskDependencies withTaskIds(List taskIds)

Set the taskIds collection is limited to 64000 characters total (i.e. the combined length of all Task IDs). If the taskIds collection exceeds the maximum length, the Add Task request fails with error code TaskDependencyListTooLong. In this case consider using Task ID ranges instead.

Parameters:

taskIds - the taskIds value to set

Returns:

the TaskDependencies object itself.

Applies to