TaskIdRange Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.TaskIdRange

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.

TaskIdRange withEnd(int end)

Set the end value.

TaskIdRange withStart(int start)

Set the start value.

Method Details

end

public int end()

Get the end value.

Returns:

the end value

start

public int start()

Get the start value.

Returns:

the start value

withEnd

public TaskIdRange withEnd(int end)

Set the end value.

Parameters:

end - the end value to set

Returns:

the TaskIdRange object itself.

withStart

public TaskIdRange withStart(int start)

Set the start value.

Parameters:

start - the start value to set

Returns:

the TaskIdRange object itself.

Applies to