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
-
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a nestedname
element.void
execute()
Run the task.void
Set 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, setTaskType
Methods 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 nestedname
element.- Returns:
Local.Name
- Since:
- Ant 1.10.13
-
execute
public void execute()Run the task.
-