Interface RegularFileProperty

    • Method Detail

      • getAsFile

        Provider<File> getAsFile()
        Views the location of this file as a File.
      • set

        void set​(File file)
        Sets the location of this file, using a File instance.
      • convention

        RegularFileProperty convention​(RegularFile value)
        Specifies the value to use as the convention for this property. The convention is used when no value has been set for this property.
        Specified by:
        convention in interface Property<RegularFile>
        Parameters:
        value - The value.
        Returns:
        this
      • convention

        RegularFileProperty convention​(Provider<? extends RegularFile> valueProvider)
        Specifies the provider of the value to use as the convention for this property. The convention is used when no value has been set for this property.
        Specified by:
        convention in interface Property<RegularFile>
        Parameters:
        valueProvider - The provider of the value.
        Returns:
        this