code: public static TaskMonitor build(IntVar start, IntVar duration, IntVar end) {
          return new TaskMonitor(start, duration, end);
      }
docs: Make a new Monitor
  
  @param start    the task start moment
  @param duration the task duration
  @param end      the task end
  @return the resulting task.