public class LocalProperties extends java.lang.InheritableThreadLocal<LocalPropertyStack> implements PropertyHelper.PropertyEvaluator, PropertyHelper.PropertySetter
| Modifier and Type | Method and Description | 
|---|---|
| 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 LocalPropertyStack | 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. | 
public void addLocal(String property)
property - the property name to add.public void copy()
public void enterScope()
public Object evaluate(String property, PropertyHelper helper)
evaluate in interface PropertyHelper.PropertyEvaluatorproperty - the property's String "identifier".helper - the invoking PropertyHelper.public void exitScope()
public static LocalProperties get(Project project)
project - the project to retrieve the localproperties for.protected LocalPropertyStack initialValue()
initialValue in class java.lang.ThreadLocal<LocalPropertyStack>public boolean set(String property, Object value, PropertyHelper propertyHelper)
set in interface PropertyHelper.PropertySetterproperty - the property's String "identifier".value - the value to set.propertyHelper - the invoking PropertyHelper.public boolean setNew(String property, Object value, PropertyHelper propertyHelper)
setNew in interface PropertyHelper.PropertySetterproperty - the property's String "identifier".value - the value to set.propertyHelper - the invoking PropertyHelper.