|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.plugins.eclipse.AbstractXmlGeneratorTask org.gradle.plugins.eclipse.EclipseWtp
class EclipseWtp extends AbstractXmlGeneratorTask
Generates Eclipse configuration files for Eclipse WTP.
Field Summary | |
---|---|
protected ModelFactory |
modelFactory
|
Property Summary | |
---|---|
java.lang.String |
deployName
The deploy name to be used in the org.eclipse.wst.common.component file. |
java.util.List |
facets
The facets to be added as installed elements to the org.eclipse.wst.common.project.facet.core file. |
java.util.Set |
minusConfigurations
The configurations which files are to be excluded from the dependent-module elements of the org.eclipse.wst.common.component file. |
java.io.File |
orgEclipseWstCommonComponentInputFile
The file that is merged into the to be produced org.eclipse.wst.common.component file. |
java.io.File |
orgEclipseWstCommonComponentOutputFile
|
java.io.File |
orgEclipseWstCommonProjectFacetCoreInputFile
The output file for the org.eclipse.wst.common.component metadata. |
java.io.File |
orgEclipseWstCommonProjectFacetCoreOutputFile
|
java.util.Set |
plusConfigurations
The configurations which files are to be transformed into dependent-module elements of the org.eclipse.wst.common.component file. |
java.util.List |
properties
Additional property elements. |
java.util.List |
resources
Additional wb-resource elements. |
NamedDomainObjectContainer |
sourceSets
The output file for the org.eclipse.wst.common.project.facet.core metadata. |
java.util.Map |
variables
The variables to be used for replacing absolute path in dependent-module elements of the org.eclipse.wst.common.component file. |
Constructor Summary | |
EclipseWtp()
|
Method Summary | |
---|---|
void
|
facet(java.util.Map args)
Adds a facet for the org.eclipse.wst.common.project.facet.core file. |
protected void
|
generateXml()
|
void
|
property(java.util.Map args)
Adds a property to be added to the org.eclipse.wst.common.component file. |
void
|
resource(java.util.Map args)
Adds a wb-resource to be added to the org.eclipse.wst.common.component file. |
void
|
variables(java.util.Map variables)
Adds variables to be used for replacing absolute path in dependent-module elements of the org.eclipse.wst.common.component file. |
Methods inherited from class AbstractXmlGeneratorTask | |
---|---|
beforeConfigured, whenConfigured, withXml |
Field Detail |
---|
protected ModelFactory modelFactory
Property Detail |
---|
java.lang.String deployName
java.util.List facets
java.util.Set minusConfigurations
java.io.File orgEclipseWstCommonComponentInputFile
@OutputFile /** * The output file for the org.eclipse.wst.common.component metadata. */ java.io.File orgEclipseWstCommonComponentOutputFile
java.io.File orgEclipseWstCommonProjectFacetCoreInputFile
@OutputFile /** * The output file for the org.eclipse.wst.common.project.facet.core metadata. */ java.io.File orgEclipseWstCommonProjectFacetCoreOutputFile
java.util.Set plusConfigurations
java.util.List properties
java.util.List resources
NamedDomainObjectContainer sourceSets
java.util.Map variables
Constructor Detail |
---|
EclipseWtp()
Method Detail |
---|
void facet(java.util.Map args)
args
- A map that must contain a name and version key with corresponding values.
@TaskAction protected void generateXml()
void property(java.util.Map args)
args
- A map that must contain a name and value key with corresponding values.
void resource(java.util.Map args)
args
- A map that must contain a deployPath and sourcePath key with corresponding values.
void variables(java.util.Map variables)
variables
- A map where the keys are the variable names and the values are the variable values.
Groovy Documentation