Package org.gradle.api.provider
Interface PropertyState<T>
-
- Type Parameters:
T
- Type of value represented by property state
- All Known Subinterfaces:
DirectoryVar
,RegularFileVar
@Incubating @Deprecated public interface PropertyState<T> extends Property<T>
Deprecated.UseProperty
instead.AProvider
representation for capturing the state of a property. The value can be provided by using the methodProperty.set(Object)
orProperty.set(Provider)
.Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created through the factory methods
Project.property(java.lang.Class)
orProviderFactory.property(java.lang.Class)
.- Since:
- 4.0