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.
Constructor Summary
Constructor | Description | |
---|---|---|
TaskDependencies() |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Task |
taskIdRanges()
Get the task |
List<String> |
taskIds()
Get the task |
Task |
withTaskIdRanges(List<TaskIdRange> taskIdRanges)
Set the task |
Task |
withTaskIds(List<String> taskIds)
Set the task |
Methods inherited from java.lang.Object
Constructor Details
TaskDependencies
public TaskDependencies()
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