Browse Source

Ant1 sync

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272367 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 23 years ago
parent
commit
8755079dee
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      proposal/mutant/src/java/antlibs/ant1compat/org/apache/tools/ant/Project.java

+ 22
- 0
proposal/mutant/src/java/antlibs/ant1compat/org/apache/tools/ant/Project.java View File

@@ -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
*


Loading…
Cancel
Save