|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 this 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)
Sets a description for this task. |
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 |
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 Task
getDescription
in class org.gradle.api.internal.AbstractTask
public void setDescription(String description)
gradle tasks
is called.
setDescription
in interface Task
setDescription
in class org.gradle.api.internal.AbstractTask
description
- The description of the task. Might be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |