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'.
Constructor Summary
Constructor | Description | |
---|---|---|
TaskIdRange() |
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. |
Methods inherited from java.lang.Object
Constructor Details
TaskIdRange
public TaskIdRange()
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