|
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.EclipseWtp
class EclipseWtp extends ConventionTask
Generates Eclipse configuration files for Eclipse WTP.
Field Summary | |
---|---|
protected WtpFactory |
modelFactory
|
Property Summary | |
---|---|
ActionBroadcast |
beforeConfiguredActions
|
java.lang.String |
contextPath
The context path for the web application |
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. |
java.lang.Iterable |
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. |
ActionBroadcast |
whenConfiguredActions
|
ActionBroadcast |
withXmlActions
|
Constructor Summary | |
EclipseWtp()
|
Method Summary | |
---|---|
void
|
beforeConfigured(groovy.lang.Closure closure)
|
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. |
void
|
whenConfigured(groovy.lang.Closure closure)
|
void
|
withXml(groovy.lang.Closure closure)
|
Field Detail |
---|
protected WtpFactory modelFactory
Property Detail |
---|
ActionBroadcast beforeConfiguredActions
java.lang.String contextPath
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
java.lang.Iterable sourceSets
java.util.Map variables
ActionBroadcast whenConfiguredActions
ActionBroadcast withXmlActions
Constructor Detail |
---|
EclipseWtp()
Method Detail |
---|
void beforeConfigured(groovy.lang.Closure closure)
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.
void whenConfigured(groovy.lang.Closure closure)
void withXml(groovy.lang.Closure closure)
Groovy Documentation