Class XmlGeneratorTask<T extends org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject>

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.plugins.ide.api.GeneratorTask<T>
org.gradle.plugins.ide.api.XmlGeneratorTask<T>
Type Parameters:
T - The domain object type.
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>
Direct Known Subclasses:
GenerateEclipseClasspath, GenerateEclipseProject, GenerateEclipseWtpComponent, GenerateEclipseWtpFacet, GenerateFiltersFileTask, GenerateIdeaModule, GenerateIdeaProject, GenerateIdeaWorkspace, GenerateProjectFileTask, GenerateSchemeFileTask, GenerateXcodeWorkspaceFileTask

@DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly") public abstract class XmlGeneratorTask<T extends org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject> extends GeneratorTask<T>
A convenience superclass for those tasks which generate XML configuration files from a domain object of type T.
  • Constructor Details

    • XmlGeneratorTask

      public XmlGeneratorTask()
  • Method Details

    • getXmlTransformer

      @Internal public org.gradle.internal.xml.XmlTransformer getXmlTransformer()
    • configure

      protected abstract void configure(T object)
    • create

      protected abstract T create()