Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.IConventionAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
public class AntTarget
extends org.gradle.api.internal.ConventionTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
AntTarget() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
conventionMapping, conventionMapping, getConventionMapping
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
protected void executeAntTarget()
@Internal public org.apache.tools.ant.Target getTarget()
public void setTarget(org.apache.tools.ant.Target target)
@Internal public File getBaseDir()
public void setBaseDir(File baseDir)
@Internal 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.