Package org.apache.tools.ant.taskdefs
Class Local
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Local
- All Implemented Interfaces:
Cloneable
Task to create local properties in the current scope.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a nestednameelement.voidexecute()Run the task.voidSet the name attribute.Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
Local
public Local()
-
-
Method Details
-
setName
Set the name attribute.- Parameters:
name- the name of the local property.
-
createName
Create a nestednameelement.- Returns:
Local.Name- Since:
- Ant 1.10.13
-
execute
public void execute()Run the task.
-