|
|||||||||
| 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 |
|---|
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
| Constructor Summary | |
|---|---|
AntTarget()
|
|
| Method Summary | |
|---|---|
protected void |
executeAntTarget()
|
File |
getBaseDir()
Returns the Ant project base directory to use when executing the target. |
String |
getDescription()
Returns the description of a task. |
org.apache.tools.ant.Target |
getTarget()
Returns the Ant target to execute. |
void |
setBaseDir(File baseDir)
Sets the Ant project base directory to use when executing the target. |
void |
setDescription(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.internal.AbstractTask |
|---|
captureStandardOutput, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doFirst, doLast, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDidWork, getDynamicObjectHelper, getEnabled, getExecuter, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getTaskDependencies, getTemporaryDir, hashCode, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setConvention, setDependsOn, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gradle.api.Task |
|---|
captureStandardOutput, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doFirst, doLast, doLast, getActions, getAnt, getConvention, getDependsOn, getDidWork, getEnabled, getGroup, getInputs, getLogger, getLogging, getName, getOutputs, getPath, getProject, getState, getTaskDependencies, getTemporaryDir, hasProperty, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setEnabled, setGroup, setOnlyIf, setOnlyIf, setProperty |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| 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 File getBaseDir()
public void setBaseDir(File baseDir)
public String getDescription()
getDescription in interface TaskgetDescription in class org.gradle.api.internal.AbstractTaskTask.setDescription(String)public void setDescription(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 | ||||||||