Groovy Documentation

org.gradle.plugins.eclipse
[Groovy] Class EclipseWtpFacet

java.lang.Object
  org.gradle.api.internal.ConventionTask
      org.gradle.api.tasks.GeneratorTask
          org.gradle.api.tasks.XmlGeneratorTask
              org.gradle.plugins.eclipse.EclipseWtpFacet

class EclipseWtpFacet
extends XmlGeneratorTask

Generates the org.eclipse.wst.common.project.facet.core settings file for Eclipse WTP.

Authors:
Hans Dockter


Field Summary
protected WtpFacetFactory modelFactory

 
Fields inherited from class GeneratorTask
generator
 
Property Summary
java.util.List facets

The facets to be added as elements.

 
Constructor Summary
EclipseWtpFacet()

 
Method Summary
protected void configure(WtpFacet facet)

protected WtpFacet create()

void facet(java.util.Map args)

Adds a facet.

 
Methods inherited from class XmlGeneratorTask
configure, create, getXmlTransformer, withXml, withXml
 
Methods inherited from class GeneratorTask
beforeConfigured, beforeConfigured, getInputFile, getOutputFile, setInputFile, setOutputFile, whenConfigured, whenConfigured
 

Field Detail

modelFactory

protected WtpFacetFactory modelFactory


 
Property Detail

facets

java.util.List facets
The facets to be added as elements.


 
Constructor Detail

EclipseWtpFacet

EclipseWtpFacet()


 
Method Detail

configure

@Override
protected void configure(WtpFacet facet)


create

@Override
protected WtpFacet create()


facet

void facet(java.util.Map args)
Adds a facet.
Parameters:
args - A map that must contain a name and version key with corresponding values.


 

Groovy Documentation