Interface TaskProvider<T extends Task>

Type Parameters:
T - Task type
All Superinterfaces:
Provider<T>

@Incubating public interface TaskProvider<T extends Task> extends Provider<T>
Providers a task of the given type.
Since:
4.8
  • Method Details

    • configure

      void configure(Action<? super T> action)
      Configures the task with the given action. Actions are run in the order added.
      Parameters:
      action - A Action that can configure the task when required.
      Since:
      4.8
    • getName

      String getName()
      The task name referenced by this provider.

      Must be constant for the life of the object.

      Returns:
      The task name. Never null.
      Since:
      4.9