|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.plugins.ide.api.GeneratorTask
org.gradle.plugins.ide.api.XmlGeneratorTask
org.gradle.plugins.ide.eclipse.GenerateEclipseWtpComponent
class GenerateEclipseWtpComponent extends XmlGeneratorTask
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.
Field Summary |
---|
Fields inherited from class GeneratorTask | |
---|---|
afterConfigured, beforeConfigured, domainObject, generator |
Property Summary | |
---|---|
EclipseWtpComponent |
component
|
Constructor Summary | |
GenerateEclipseWtpComponent()
|
Method Summary | |
---|---|
protected void
|
configure(WtpComponent xmlComponent)
|
protected WtpComponent
|
create()
|
String
|
getContextPath()
Deprecated. |
String
|
getDeployName()
Deprecated. |
Set
|
getMinusConfigurations()
Deprecated. |
Set
|
getPlusConfigurations()
Deprecated. |
List
|
getProperties()
Deprecated. |
List
|
getResources()
Deprecated. |
Set
|
getSourceDirs()
Deprecated. |
Map
|
getVariables()
Deprecated. |
void
|
property(Map args)
Deprecated. |
void
|
resource(Map args)
Deprecated. |
void
|
setContextPath(String contextPath)
|
void
|
setDeployName(String deployName)
|
void
|
setMinusConfigurations(Set minusConfigurations)
|
void
|
setPlusConfigurations(Set plusConfigurations)
|
void
|
setProperties(List properties)
|
void
|
setResources(List resources)
|
void
|
setSourceDirs(Set sourceDirs)
|
void
|
setVariables(Map variables)
|
void
|
variables(Map variables)
Deprecated. |
Methods inherited from class XmlGeneratorTask | |
---|---|
configure, create, getXmlTransformer |
Methods inherited from class GeneratorTask | |
---|---|
getInputFile, getOutputFile, setInputFile, setOutputFile |
Property Detail |
---|
EclipseWtpComponent component
Constructor Detail |
---|
GenerateEclipseWtpComponent()
Method Detail |
---|
@Override protected void configure(WtpComponent xmlComponent)
@Override protected WtpComponent create()
String getContextPath()
The context path for the web application
String getDeployName()
The deploy name to be used.
Set getMinusConfigurations()
The configurations whose files are to be excluded from dependent-module elements.
Set getPlusConfigurations()
List getProperties()
Additional property elements.
List getResources()
Additional wb-resource elements.
Set getSourceDirs()
The source directories to be transformed into wb-resource elements.
Map getVariables()
The variables to be used for replacing absolute path in dependent-module elements.
void property(Map args)
Adds a property.
args
- A map that must contain a name and value key with corresponding values.
void resource(Map args)
Adds a wb-resource.
args
- A map that must contain a deployPath and sourcePath key with corresponding values.
void setContextPath(String contextPath)
void setDeployName(String deployName)
void setMinusConfigurations(Set minusConfigurations)
void setPlusConfigurations(Set plusConfigurations)
void setProperties(List properties)
void setResources(List resources)
void setSourceDirs(Set sourceDirs)
void setVariables(Map variables)
void variables(Map variables)
Adds variables to be used for replacing absolute path in dependent-module elements.
variables
- A map where the keys are the variable names and the values are the variable values.
Gradle API 1.12