DirectoryProperty (Gradle API 8.14) (original) (raw)

All Superinterfaces:

[FileSystemLocationProperty](FileSystemLocationProperty.html "interface in org.gradle.api.file")<[Directory](Directory.html "interface in org.gradle.api.file")>, [HasConfigurableValue](../provider/HasConfigurableValue.html "interface in org.gradle.api.provider"), [Property](../provider/Property.html "interface in org.gradle.api.provider")<[Directory](Directory.html "interface in org.gradle.api.file")>, [Provider](../provider/Provider.html "interface in org.gradle.api.provider")<[Directory](Directory.html "interface in org.gradle.api.file")>, [SupportsConvention](../provider/SupportsConvention.html "interface in org.gradle.api.provider")


Since:

4.3

Specifies the value to use as the convention (default value) for this property.
Specifies the provider to be used to query the convention (default value) for this property.
Returns a Directory whose value is the given path resolved relative to the value of this directory.
Returns a Directory whose value is the given path resolved relative to the value of this directory.
Returns a RegularFile whose value is the given path resolved relative to the value of this directory.
Returns a RegularFile whose value is the given path resolved relative to the value of this directory.
Sets the location of this file, using a File Provider instance.
Sets the location of this file, using a File instance.
Returns a FileTree that allows the files and directories contained in this directory to be queried.
Sets the value of the property to the given value, replacing whatever value the property already had.
Sets the property to have the same value as the given provider, replacing whatever value the property already had.

Methods inherited from interface org.gradle.api.provider.Provider

[filter](../provider/Provider.html#filter%28org.gradle.api.specs.Spec%29), [flatMap](../provider/Provider.html#flatMap%28org.gradle.api.Transformer%29), [forUseAtConfigurationTime](../provider/Provider.html#forUseAtConfigurationTime%28%29), [get](../provider/Provider.html#get%28%29), [getOrElse](../provider/Provider.html#getOrElse%28T%29), [getOrNull](../provider/Provider.html#getOrNull%28%29), [isPresent](../provider/Provider.html#isPresent%28%29), [map](../provider/Provider.html#map%28org.gradle.api.Transformer%29), [orElse](../provider/Provider.html#orElse%28org.gradle.api.provider.Provider%29), [orElse](../provider/Provider.html#orElse%28T%29), [zip](../provider/Provider.html#zip%28org.gradle.api.provider.Provider,java.util.function.BiFunction%29)