diff --git a/src/main/org/apache/tools/ant/PropertyHelper.java b/src/main/org/apache/tools/ant/PropertyHelper.java index 2d0f8bd5c..5e9faac98 100644 --- a/src/main/org/apache/tools/ant/PropertyHelper.java +++ b/src/main/org/apache/tools/ant/PropertyHelper.java @@ -74,6 +74,9 @@ public class PropertyHelper { protected PropertyHelper() { } + //override facility for subclasses to put custom hashtables in + + // -------------------- Hook management -------------------- /** @@ -481,6 +484,36 @@ public class PropertyHelper { return new Hashtable(userProperties); } + /** + * special back door for subclasses, internal access to + * the hashtables + * @return the live hashtable of all properties + */ + protected Hashtable getInternalProperties() { + return properties; + } + + /** + * special back door for subclasses, internal access to + * the hashtables + * + * @return the live hashtable of user properties + */ + protected Hashtable getInternalUserProperties() { + return userProperties; + } + + /** + * special back door for subclasses, internal access to + * the hashtables + * + * @return the live hashtable inherited properties + */ + protected Hashtable getInternalInheritedProperties() { + return inheritedProperties; + } + + /** * Copies all user properties that have not been set on the * command line or a GUI tool from this instance to the Project