|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.ide.eclipse.EclipseWtp
public class EclipseWtp
Generates Eclipse configuration files for Eclipse WTP.
Field Summary | |
---|---|
static java.lang.String |
WTP_FILE_DIR
|
static java.lang.String |
WTP_FILE_NAME
|
Fields inherited from interface org.gradle.api.Task |
---|
AUTOSKIP_PROPERTY_PREFIX, TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
Constructor Summary | |
---|---|
EclipseWtp()
|
Method Summary | |
---|---|
protected void |
generateWtp()
|
java.lang.Object |
getDeployName()
Returns the deploy name for this project. |
java.lang.Object |
getOutputDirectory()
Returns the java-output-path to be used by the wtp descriptor file. |
java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> |
getProjectDependencies()
Returns the project dependencies to be transformed into eclipse project dependencies. |
java.util.List<java.lang.Object> |
getWarLibs()
Returns a list with library paths to be deployed as war lib dependencies. |
java.util.Map<java.lang.String,java.util.List<java.lang.Object>> |
getWarResourceMappings()
Returns the war resource mappings |
boolean |
isFailForMissingDependencies()
Returns whether the build should fail if lib dependencies intended to be used by this task can not be resolved. |
void |
setDeployName(java.lang.Object deployName)
Set the deploy name for this project. |
void |
setFailForMissingDependencies(boolean failForMissingDependencies)
Sets whether the build should fail if lib dependencies intended to be used by this task can not be resolved. |
void |
setOutputDirectory(java.lang.Object outputDirectory)
Sets the java-output-path to be used by the wtp descriptor file. |
void |
setProjectDependencies(java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> projectDependencies)
Sets the project dependencies to be transformed into eclipse project dependencies. |
void |
setWarLibs(java.util.List<java.lang.Object> warLibs)
Sets a list with library paths to be deployed as war lib dependencies. |
void |
setWarResourceMappings(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> warResourceMappings)
Maps a deploy-path to source-paths. |
Methods inherited from class org.gradle.api.internal.ConventionTask |
---|
conventionMapping, getConventionMapping, setConventionMapping |
Methods inherited from class org.gradle.api.DefaultTask |
---|
configure, doFirst, doLast, leftShift |
Methods inherited from class org.gradle.api.internal.AbstractTask |
---|
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getOutput, getPath, getProject, getStandardOutputCapture, getTaskDependencies, hashCode, hasProperty, injectIntoNextInstance, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setOutputHandler, setProject, setProperty, setStandardOutputCapture, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface groovy.lang.GroovyObject |
---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Field Detail |
---|
public static final java.lang.String WTP_FILE_DIR
public static final java.lang.String WTP_FILE_NAME
Constructor Detail |
---|
public EclipseWtp()
Method Detail |
---|
protected void generateWtp()
public java.lang.Object getOutputDirectory()
setOutputDirectory(Object)
public void setOutputDirectory(java.lang.Object outputDirectory)
outputDirectory
- An object which toString value is interpreted as a path.public java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> getProjectDependencies()
setProjectDependencies(java.util.List)
public void setProjectDependencies(java.util.List<org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency> projectDependencies)
projectDependencies
- public java.util.List<java.lang.Object> getWarLibs()
setWarLibs(java.util.List)
public void setWarLibs(java.util.List<java.lang.Object> warLibs)
warLibs
- An list with objects which toString value is interpreted as a pathpublic java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getWarResourceMappings()
setWarResourceMappings(java.util.Map)
public void setWarResourceMappings(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> warResourceMappings)
warResourceMappings
- public java.lang.Object getDeployName()
setDeployName(Object)
public void setDeployName(java.lang.Object deployName)
deployName
- An object which toString value is interpreted as a path.public boolean isFailForMissingDependencies()
setFailForMissingDependencies(boolean)
public void setFailForMissingDependencies(boolean failForMissingDependencies)
failForMissingDependencies
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |