Property<RegularFile>, Provider<RegularFile>@Incubating public interface RegularFileProperty extends Property<RegularFile>
You can create a RegularFileProperty using ObjectFactory.fileProperty().
Note: This interface is not intended for implementation by build script or plugin authors.
| Modifier and Type | Method | Description |
|---|---|---|
Provider<java.io.File> |
getAsFile() |
Views the location of this file as a
File. |
void |
set(java.io.File file) |
Sets the location of this file.
|
RegularFileProperty |
value(RegularFile value) |
Sets the value of the property the given value, replacing whatever value the property already had.
|
finalizeValue, set, setProvider<java.io.File> getAsFile()
File.void set(java.io.File file)
RegularFileProperty value(RegularFile value)
This is the same as Property.set(Object) but returns this property to allow method chaining.
value in interface Property<RegularFile>value - The value, can be null.