| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.ThreadLocal<T>
java.lang.InheritableThreadLocal<LocalPropertyStack>
org.apache.tools.ant.property.LocalProperties
public class LocalProperties
Thread local class containing local properties.
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.InheritableThreadLocal | 
|---|
| childValue | 
| Methods inherited from class java.lang.ThreadLocal | 
|---|
| get, remove, set | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
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.
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||