Package org.gradle.api.tasks.ant
Klasse AntTarget
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.ant.AntTarget
- Alle implementierten Schnittstellen:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.IConventionAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,Configurable<Task>
@DisableCachingByDefault(because="Gradle would require more information to cache this task")
public abstract class AntTarget
extends org.gradle.api.internal.ConventionTask
A task which executes an Ant target.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Task
Task.Namer -
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidReturns the Ant project base directory to use when executing the target.Returns the description of this task.org.apache.tools.ant.TargetReturns the Ant target to execute.voidsetBaseDir(File baseDir) Sets the Ant project base directory to use when executing the target.voidsetDescription(String description) Sets a description for this task.voidsetTarget(org.apache.tools.ant.Target target) Sets the Ant target to execute.Von Klasse geerbte Methoden org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMappingVon Klasse geerbte Methoden org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceVon Klasse geerbte Methoden org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Konstruktordetails
-
AntTarget
public AntTarget()
-
-
Methodendetails
-
executeAntTarget
protected void executeAntTarget() -
getTarget
Returns the Ant target to execute. -
setTarget
public void setTarget(org.apache.tools.ant.Target target) Sets the Ant target to execute. -
getBaseDir
Returns the Ant project base directory to use when executing the target. -
setBaseDir
Sets the Ant project base directory to use when executing the target. -
getDescription
Returns the description of this task.- Angegeben von:
getDescriptionin SchnittstelleTask- Setzt außer Kraft:
getDescriptionin KlasseDefaultTask- Gibt zurück:
- the description. May return null.
-
setDescription
Sets a description for this task. This should describe what the task does to the user of the build. The description will be displayed whengradle tasksis called.- Angegeben von:
setDescriptionin SchnittstelleTask- Setzt außer Kraft:
setDescriptionin KlasseDefaultTask- Parameter:
description- The description of the task. Might be null.
-