Package org.gradle.api
Interface NamedDomainObjectProvider<T>
- Type Parameters:
- T- type of domain object
- All Superinterfaces:
- Provider<T>
- All Known Subinterfaces:
- TaskProvider<T>
Provides a domain object of the given type.
- Since:
- 4.10
- 
Method Summary
- 
Method Details- 
configureConfigures the domain object with the given action. Actions are run in the order added.- Parameters:
- action- A- Actionthat can configure the domain object when required.
- Since:
- 4.10
 
- 
getNameString getName()The domain object name referenced by this provider.Must be constant for the life of the object. - Returns:
- The domain object. Never null.
- Since:
- 4.10
 
 
-