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:
java.lang.Cloneable
public class Local extends Task
Task to create local properties in the current scope.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Local.Name
Nestedname
element.
-
Field Summary
-
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
-
Constructor Summary
Constructors Constructor Description Local()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Local.Name
createName()
Create a nestedname
element.void
execute()
Run the task.void
setName(java.lang.String name)
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
-
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name attribute.- Parameters:
name
- the name of the local property.
-
createName
public Local.Name createName()
Create a nestedname
element.- Returns:
Local.Name
- Since:
- Ant 1.10.13
-
-