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