org.apache.tools.ant.property
public class LocalProperties extends InheritableThreadLocal implements PropertyHelper.PropertyEvaluator, PropertyHelper.PropertySetter
Since: Ant 1.8.0
Method Summary | |
---|---|
void | addLocal(String property)
Add a local property to the current scope. |
void | copy()
Copy the stack for a parallel thread.
|
void | enterScope() enter the scope |
Object | evaluate(String property, PropertyHelper helper)
Evaluate a property. |
void | exitScope() exit the scope |
static LocalProperties | get(Project project)
Get a localproperties for the given project. |
protected Object | initialValue()
Get the initial value. |
boolean | set(String property, Object value, PropertyHelper propertyHelper)
Set a property. |
boolean | setNew(String property, Object value, PropertyHelper propertyHelper)
Set a *new" property. |
Parameters: property the property name to add.
Parameters: property the property's String "identifier". helper the invoking PropertyHelper.
Returns: Object value.
Parameters: project the project to retieve the localproperties for.
Returns: the localproperties.
Returns: a new localproperties stack.
Parameters: property the property's String "identifier". value the value to set. propertyHelper the invoking PropertyHelper.
Returns: true if this entity 'owns' the property.
Parameters: property the property's String "identifier". value the value to set. propertyHelper the invoking PropertyHelper.
Returns: true if this entity 'owns' the property.