Interface TaskBuilder<T extends Task>

Type Parameters:
T - the task type to build
All Known Implementing Classes:
AbstractTaskBuilder, BackgroundTask.BackgroundTaskBuilder, ForegroundTask.ForegroundTaskBuilder

public interface TaskBuilder<T extends Task>
Provides a common pattern for building tasks
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds the task of the given type for the builder
  • Method Details

    • build

      T build()
      Builds the task of the given type for the builder
      Returns:
      a new instance of the task