Interface TaskProvider<T extends Task>

    • Method Detail

      • configure

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

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

        Must be constant for the life of the object.

        Specified by:
        getName in interface NamedDomainObjectProvider<T extends Task>
        Returns:
        The task name. Never null.
        Since:
        4.9