Directory Property
Represents some configurable directory location, whose value is mutable.
Note: This interface is not intended for implementation by build script or plugin authors.
Since
4.3
See also
Create an instance of this as a managed property (preferred).
Create an instance of this manually.
Functions
Link copied to clipboard
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.
Link copied to clipboard
Disallows further direct changes to this object.
Link copied to clipboard
Disallows reading the value of this object when its value may not yet be available or may still change.
Link copied to clipboard
Returns a RegularFile whose value is the given path resolved relative to the value of this directory.
Link copied to clipboard
Sets the location of this file, using a instance.
Link copied to clipboard
Returns a FileCollection containing the given files, whose locations are the given paths resolved relative to this directory, as defined by files.
Link copied to clipboard
Sets the location of this file, using a instance.
Link copied to clipboard
Disallows further changes to the value of this property.
Link copied to clipboard
Requests that the final value of this object be calculated on the next read of the value, if not already known.
Link copied to clipboard
Returns a FileTree that allows the files and directories contained in this directory to be queried.
Link copied to clipboard
Returns the location of the file system element, and discards details of the task that produces its content.
Link copied to clipboard
Sets the location of this file, using a File instance.
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.
Link copied to clipboard
Unsets this object's convention value.
Link copied to clipboard
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.