Package org.apache.tools.ant.taskdefs
Class PropertyHelperTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.PropertyHelperTask
- All Implemented Interfaces:
- Cloneable
This task is designed to allow the user to install a different
 PropertyHelper on the current Project. This task also allows the
 installation of PropertyHelper delegates on either the newly installed
 or existing PropertyHelper.
- Since:
- Ant 1.8
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionfinal classNested delegate for refid usage.
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddConfigured(PropertyHelper propertyHelper) Add a new PropertyHelper to be set on the Project.voidaddConfigured(PropertyHelper.Delegate delegate) Add a PropertyHelper delegate to the existing or new PropertyHelper.Add a nested <delegate refid="foo" /> element.voidexecute()Execute the task.Methods inherited from class org.apache.tools.ant.TaskbindToOwner, 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.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
PropertyHelperTaskpublic PropertyHelperTask()
 
- 
- 
Method Details- 
addConfiguredAdd a new PropertyHelper to be set on the Project.- Parameters:
- propertyHelper- the PropertyHelper to set.
 
- 
addConfiguredAdd a PropertyHelper delegate to the existing or new PropertyHelper.- Parameters:
- delegate- the delegate to add.
 
- 
createDelegateAdd a nested <delegate refid="foo" /> element.- Returns:
- DelegateElement
 
- 
executeExecute the task.- Overrides:
- executein class- Task
- Throws:
- BuildException- on error.
 
 
-