Class 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 Detail

      • TaskIdRange

        public TaskIdRange()
    • 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.