Package org.gradle.api
Schnittstelle NamedDomainObjectProvider<T>
- Typparameter:
T- type of domain object
- Alle Superschnittstellen:
Provider<T>
- Alle bekannten Unterschnittstellen:
TaskProvider<T>
Provides a domain object of the given type.
- Seit:
- 4.10
-
Methodenübersicht
-
Methodendetails
-
configure
Configures the domain object with the given action. Actions are run in the order added.- Parameter:
action- AActionthat can configure the domain object when required.- Seit:
- 4.10
-
getName
String getName()The domain object name referenced by this provider.Must be constant for the life of the object.
- Gibt zurück:
- The domain object. Never null.
- Seit:
- 4.10
-