TaskDependencies Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskDependencies
- com.
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.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Task |
taskIdRanges()
Get the taskIdRanges value. |
List<String> |
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. |
Task |
withTaskIdRanges(List<TaskIdRange> taskIdRanges)
Set the taskIdRanges value. |
Task |
withTaskIds(List<String> 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. |
Method Details
taskIdRanges
public List
Get the taskIdRanges value.
Returns:
taskIds
public List
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:
withTaskIdRanges
public TaskDependencies withTaskIdRanges(List
Set the taskIdRanges value.
Parameters:
Returns:
withTaskIds
public TaskDependencies withTaskIds(List
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:
Returns:
Applies to
Azure SDK for Java