Class ForegroundTask.ForegroundTaskBuilder

    • Constructor Detail

      • ForegroundTaskBuilder

        public ForegroundTaskBuilder()
    • Method Detail

      • withBudget

        public ForegroundTask.ForegroundTaskBuilder withBudget​(IterationBudget budget)
        Sets an iteration budget for the task (i.e.: the task will not run more than the given number of iterations)
        Parameters:
        budget - the budget
        Returns:
        an instance of the this builder
      • build

        public ForegroundTask build()
        Description copied from interface: TaskBuilder
        Builds the task of the given type for the builder
        Returns:
        a new instance of the task