diff --git a/proposal/mutant/src/java/antlibs/ant1compat/org/apache/tools/ant/Project.java b/proposal/mutant/src/java/antlibs/ant1compat/org/apache/tools/ant/Project.java index dbc72ffee..ca541cfe1 100644 --- a/proposal/mutant/src/java/antlibs/ant1compat/org/apache/tools/ant/Project.java +++ b/proposal/mutant/src/java/antlibs/ant1compat/org/apache/tools/ant/Project.java @@ -354,6 +354,28 @@ public class Project implements org.apache.ant.common.event.BuildListener { return new Hashtable();// XXX can't get targets } + /** + * Returns the current datatype definition hashtable. The returned + * hashtable is "live" and so should not be modified. + * + * @return a map of from datatype name to implementing class + * (String to Class). + */ + public Hashtable getDataTypeDefinitions() { + return dataClassDefinitions; + } + + /** + * Returns the current task definition hashtable. The returned hashtable is + * "live" and so should not be modified. + * + * @return a map of from task name to implementing class + * (String to Class). + */ + public Hashtable getTaskDefinitions() { + return taskClassDefinitions; + } + /** * Gets the buildListeners of the Project *