Top Description Inners Fields Constructors Methods
org.apache.tools.ant.taskdefs

public Class PropertyHelperTask

extends Task
Class Inheritance
Imports
java.util.ArrayList, .List, org.apache.tools.ant.BuildException, .MagicNames, .Project, .PropertyHelper, .Task

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 and Inner Type Summary

Modifier and TypeClass and Description
public class
PropertyHelperTask.DelegateElement

Nested delegate for refid usage.

Field Summary

Modifier and TypeField and Description
private List<Object>
private PropertyHelper
Inherited from org.apache.tools.ant.Task:
targettaskNametaskTypewrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
addConfigured(PropertyHelper
the PropertyHelper to set.
propertyHelper
)

Add a new PropertyHelper to be set on the Project.

public synchronized void
addConfigured(PropertyHelper.Delegate
the delegate to add.
delegate
)

Add a PropertyHelper delegate to the existing or new PropertyHelper.

public PropertyHelperTask.DelegateElement

Returns:

DelegateElement
createDelegate
()

Add a nested <delegate refid="foo" /> element.

public void
execute()

Overrides org.apache.tools.ant.Task.execute.

Execute the task.
private synchronized List<Object>
Inherited from org.apache.tools.ant.Task:
bindToOwnergetOwningTargetgetRuntimeConfigurableWrappergetTaskNamegetTaskTypegetWrapperhandleErrorFlushhandleErrorOutputhandleFlushhandleInputhandleOutputinitisInvalidloglogloglogmaybeConfigureperformreconfiguresetOwningTargetsetRuntimeConfigurableWrappersetTaskNamesetTaskType

Field Detail

delegatesback to summary
private List<Object> delegates
propertyHelperback to summary
private PropertyHelper propertyHelper

Constructor Detail

PropertyHelperTaskback to summary
public PropertyHelperTask()

Method Detail

addConfiguredback to summary
public synchronized void addConfigured(PropertyHelper propertyHelper)

Add a new PropertyHelper to be set on the Project.

Parameters
propertyHelper:PropertyHelper

the PropertyHelper to set.

addConfiguredback to summary
public synchronized void addConfigured(PropertyHelper.Delegate delegate)

Add a PropertyHelper delegate to the existing or new PropertyHelper.

Parameters
delegate:PropertyHelper.Delegate

the delegate to add.

createDelegateback to summary
public PropertyHelperTask.DelegateElement createDelegate()

Add a nested <delegate refid="foo" /> element.

Returns:PropertyHelperTask.DelegateElement

DelegateElement

executeback to summary
public void execute() throws BuildException

Overrides org.apache.tools.ant.Task.execute.

Execute the task.

Annotations
@Override
Exceptions
BuildException:
on error.
getAddDelegateListback to summary
private synchronized List<Object> getAddDelegateList()
org.apache.tools.ant.taskdefs back to summary

public final Class PropertyHelperTask.DelegateElement

extends Object
Class Inheritance
  • java.lang.Object
  • org.apache.tools.ant.taskdefs.PropertyHelperTask.DelegateElement

Nested delegate for refid usage.

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

String
getRefid
()

Get the refid.

private PropertyHelper.Delegate
public void
setRefid(String
the String to set
refid
)

Set the refid.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

refidback to summary
private String refid

Constructor Detail

DelegateElementback to summary
private DelegateElement()

Method Detail

getRefidback to summary
public String getRefid()

Get the refid.

Returns:String

String

resolveback to summary
private PropertyHelper.Delegate resolve()
setRefidback to summary
public void setRefid(String refid)

Set the refid.

Parameters
refid:String

the String to set