T- Type of value represented by the property
@Incubating public interface Property<T> extends Provider<T>
Providerrepresentation for capturing the state of a property. The value can be provided by using the method
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 method
ObjectFactory.property(Class). There are also several specialized subtypes of this interface that can be created using various other factory methods.
|Modifier and Type||Method and Description|
Sets the property to have the same value of the given provider.
Sets the value of the property the given value.
This method can also be used to clear the value of the property, by passing
null as the value.
value- The value, can be null.