api / org.gradle.plugins.ide.api / XmlGeneratorTask

XmlGeneratorTask

abstract class XmlGeneratorTask<T : PersistableConfigurationObject> : GeneratorTask<T>

A convenience superclass for those tasks which generate XML configuration files from a domain object of type T.

Parameters

- The domain object type.

Constructors

<init>

XmlGeneratorTask()

Functions

getXmlTransformer

open fun getXmlTransformer(): XmlTransformer

Inherited Functions

getInputFile

open fun getInputFile(): File

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.

getOutputFile

open fun getOutputFile(): File

The output file to write the final configuration to.

setInputFile

open fun setInputFile(inputFile: File): Unit

Sets the input file to load the initial configuration from.

setOutputFile

open fun setOutputFile(outputFile: File): Unit

Sets the output file to write the final configuration to.

Inheritors

GenerateEclipseClasspath

open class GenerateEclipseClasspath : XmlGeneratorTask<Classpath>

Generates an Eclipse .classpath file. If you want to fine tune the eclipse configuration

At this moment nearly all configuration is done via EclipseClasspath.

GenerateEclipseProject

open class GenerateEclipseProject : XmlGeneratorTask<Project>

Generates an Eclipse .project file. If you want to fine tune the eclipse configuration

At this moment nearly all configuration is done via EclipseProject.

GenerateEclipseWtpComponent

open class GenerateEclipseWtpComponent : XmlGeneratorTask<WtpComponent>

Generates the org.eclipse.wst.common.component settings file for Eclipse WTP. If you want to fine tune the eclipse configuration

At this moment nearly all configuration is done via EclipseWtpComponent.

GenerateEclipseWtpFacet

open class GenerateEclipseWtpFacet : XmlGeneratorTask<WtpFacet>

Generates the org.eclipse.wst.common.project.facet.core settings file for Eclipse WTP. If you want to fine tune the eclipse configuration

At this moment nearly all configuration is done via EclipseWtpFacet.

GenerateFiltersFileTask

open class GenerateFiltersFileTask : XmlGeneratorTask<VisualStudioFiltersFile>

Task for generating a filters file.

GenerateIdeaModule

open class GenerateIdeaModule : XmlGeneratorTask<Module>

Generates an IDEA module file. If you want to fine tune the idea configuration

Please refer to interesting examples on idea configuration in IdeaModule.

At this moment nearly all configuration is done via IdeaModule.

GenerateIdeaProject

open class GenerateIdeaProject : XmlGeneratorTask<Project>

Generates an IDEA project file for root project *only*. If you want to fine tune the idea configuration

At this moment nearly all configuration is done via IdeaProject.

GenerateIdeaWorkspace

open class GenerateIdeaWorkspace : XmlGeneratorTask<Workspace>

Generates an IDEA workspace file *only* for root project. There's little you can configure about workspace generation at the moment.

GenerateProjectFileTask

open class GenerateProjectFileTask : XmlGeneratorTask<VisualStudioProjectFile>

Task for generating a project file.

GenerateSchemeFileTask

open class GenerateSchemeFileTask : XmlGeneratorTask<XcodeSchemeFile>

Task for generating a scheme file.

GenerateXcodeWorkspaceFileTask

open class GenerateXcodeWorkspaceFileTask : XmlGeneratorTask<XcodeWorkspaceFile>

Task for generating a workspace file.