Class TaskDependencies
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.TaskDependencies
-
public class TaskDependencies extends Object
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
Constructors Constructor Description TaskDependencies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
taskIds
public 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.- Returns:
- the taskIds value
-
withTaskIds
public TaskDependencies 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.- Parameters:
taskIds
- the taskIds value to set- Returns:
- the TaskDependencies object itself.
-
taskIdRanges
public List<TaskIdRange> taskIdRanges()
Get the taskIdRanges value.- Returns:
- the taskIdRanges value
-
withTaskIdRanges
public TaskDependencies withTaskIdRanges(List<TaskIdRange> taskIdRanges)
Set the taskIdRanges value.- Parameters:
taskIdRanges
- the taskIdRanges value to set- Returns:
- the TaskDependencies object itself.
-
-