T
- Task typeNamedDomainObjectProvider<T>
, Provider<T>
public interface TaskProvider<T extends Task> extends NamedDomainObjectProvider<T>
Modifier and Type | Method | Description |
---|---|---|
void |
configure(Action<? super T> action) |
Configures the task with the given action.
|
String |
getName() |
The task name referenced by this provider.
|
void configure(Action<? super T> action)
configure
in interface NamedDomainObjectProvider<T extends Task>
action
- A Action
that can configure the task when required.String getName()
Must be constant for the life of the object.
getName
in interface NamedDomainObjectProvider<T extends Task>