Package org.apache.tools.ant.property
Class LocalPropertyStack
- java.lang.Object
- 
- org.apache.tools.ant.property.LocalPropertyStack
 
- 
 public class LocalPropertyStack extends java.lang.ObjectA stack of local property maps. There is a map for each scope (target, sequential, macro).- Since:
- Ant 1.8.0
 
- 
- 
Constructor SummaryConstructors Constructor Description LocalPropertyStack()
 - 
Method SummaryModifier and Type Method Description voidaddLocal(java.lang.String property)Add a local property.LocalPropertyStackcopy()Copy the stack for a parallel thread.voidenterScope()Enter the local scope.java.lang.Objectevaluate(java.lang.String property, PropertyHelper helper)Evaluate a property.voidexitScope()Exit the local scope.booleanset(java.lang.String property, java.lang.Object value, PropertyHelper propertyHelper)Set a property.booleansetNew(java.lang.String property, java.lang.Object value, PropertyHelper propertyHelper)Set a *new" property.
 
- 
- 
- 
Method Detail- 
addLocalpublic void addLocal(java.lang.String property) Add a local property.- Parameters:
- property- the name of the local property.
 
 - 
enterScopepublic void enterScope() Enter the local scope.
 - 
exitScopepublic void exitScope() Exit the local scope.
 - 
copypublic LocalPropertyStack copy() Copy the stack for a parallel thread.- Returns:
- a copy.
 
 - 
evaluatepublic java.lang.Object evaluate(java.lang.String property, PropertyHelper helper)Evaluate a property.- Parameters:
- property- the property's String "identifier".
- helper- the invoking PropertyHelper.
- Returns:
- Object value.
 
 - 
setNewpublic boolean setNew(java.lang.String property, java.lang.Object value, PropertyHelper propertyHelper)Set a *new" 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.
 
 - 
setpublic boolean set(java.lang.String property, java.lang.Object value, PropertyHelper propertyHelper)Set a 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.
 
 
- 
 
-