Class GenerateFiltersFileTask

  • All Implemented Interfaces:
    java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>

    @Incubating
    @DisableCachingByDefault(because="Not made cacheable, yet")
    public abstract class GenerateFiltersFileTask
    extends XmlGeneratorTask<org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile>
    Task for generating a Visual Studio filters file (e.g. foo.vcxproj.filters).
    • Constructor Detail

      • GenerateFiltersFileTask

        public GenerateFiltersFileTask()
    • Method Detail

      • getIncremental

        protected boolean getIncremental()
        Description copied from class: GeneratorTask
        Whether this generator task can be treated as an incremental task or not
        Overrides:
        getIncremental in class GeneratorTask<org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile>
      • setVisualStudioProject

        public void setVisualStudioProject​(VisualStudioProject vsProject)
      • getInputFile

        public java.io.File getInputFile()
        Description copied from class: GeneratorTask
        The input file to load the initial configuration from. Defaults to the output file. If the specified input file does not exist, this task uses some default initial configuration.
        Overrides:
        getInputFile in class GeneratorTask<org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile>
        Returns:
        The input file.
      • getOutputFile

        public java.io.File getOutputFile()
        Description copied from class: GeneratorTask
        The output file to write the final configuration to.
        Overrides:
        getOutputFile in class GeneratorTask<org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile>
        Returns:
        The output file.
      • configure

        protected void configure​(org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile filtersFile)
        Specified by:
        configure in class XmlGeneratorTask<org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile>
      • create

        protected org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile create()
        Specified by:
        create in class XmlGeneratorTask<org.gradle.ide.visualstudio.tasks.internal.VisualStudioFiltersFile>