public class LocalProperties extends java.lang.InheritableThreadLocal<LocalPropertyStack> implements PropertyHelper.PropertyEvaluator, PropertyHelper.PropertySetter
| Modifier and Type | Method and Description | 
|---|---|
| void | addLocal(java.lang.String property)Add a local property to the current scope. | 
| void | copy()Copy the stack for a parallel thread. | 
| void | enterScope()enter the scope | 
| java.lang.Object | evaluate(java.lang.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(java.lang.String property,
   java.lang.Object value,
   PropertyHelper propertyHelper)Set a property. | 
| boolean | setNew(java.lang.String property,
      java.lang.Object value,
      PropertyHelper propertyHelper)Set a *new" property. | 
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 void addLocal(java.lang.String property)
property - the property name to add.public void enterScope()
public void exitScope()
public void copy()
public java.lang.Object evaluate(java.lang.String property,
                                 PropertyHelper helper)
evaluate in interface PropertyHelper.PropertyEvaluatorproperty - the property's String "identifier".helper - the invoking PropertyHelper.public boolean setNew(java.lang.String property,
                      java.lang.Object value,
                      PropertyHelper propertyHelper)
setNew in interface PropertyHelper.PropertySetterproperty - the property's String "identifier".value - the value to set.propertyHelper - the invoking PropertyHelper.public boolean set(java.lang.String property,
                   java.lang.Object value,
                   PropertyHelper propertyHelper)
set in interface PropertyHelper.PropertySetterproperty - the property's String "identifier".value - the value to set.propertyHelper - the invoking PropertyHelper.