TaskIdRange Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskIdRange
- com.
public class TaskIdRange
A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled. The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
end()
Get the end value. |
int |
start()
Get the start value. |
Task |
withEnd(int end)
Set the end value. |
Task |
withStart(int start)
Set the start value. |
Method Details
end
public int end()
Get the end value.
Returns:
start
public int start()
Get the start value.
Returns:
withEnd
public TaskIdRange withEnd(int end)
Set the end value.
Parameters:
Returns:
withStart
public TaskIdRange withStart(int start)
Set the start value.
Parameters:
Returns:
Applies to
Azure SDK for Java