|
|||||||||
| 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.ant.AntTarget
public class AntTarget
A task which executes an Ant target.
| Field Summary |
|---|
| 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 | |
|---|---|
AntTarget()
|
|
| Method Summary | |
|---|---|
protected void |
executeAntTarget()
|
java.io.File |
getBaseDir()
Returns the Ant project base directory to use when executing the target. |
java.lang.String |
getDescription()
Returns the description of a task. |
org.apache.tools.ant.Target |
getTarget()
Returns the Ant target to execute. |
void |
setBaseDir(java.io.File baseDir)
Sets the Ant project base directory to use when executing the target. |
void |
setDescription(java.lang.String description)
Adds a text to describe what the task does to the user of the build. |
void |
setTarget(org.apache.tools.ant.Target target)
Sets the Ant target to execute. |
| 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, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getOutput, getPath, getProject, getStandardOutputCapture, getTaskDependencies, hashCode, hasProperty, injectIntoNextInstance, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setConvention, setDependsOn, 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 |
| Constructor Detail |
|---|
public AntTarget()
| Method Detail |
|---|
protected void executeAntTarget()
public org.apache.tools.ant.Target getTarget()
public void setTarget(org.apache.tools.ant.Target target)
public java.io.File getBaseDir()
public void setBaseDir(java.io.File baseDir)
public java.lang.String getDescription()
getDescription in interface TaskgetDescription in class org.gradle.api.internal.AbstractTaskTask.setDescription(String)public void setDescription(java.lang.String description)
gradle -t is called.
setDescription in interface TasksetDescription in class org.gradle.api.internal.AbstractTaskdescription - The description of the task. Might be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||