Browse Source

add a getPropertys() method to context so that some tasks (like Junit) can grab a *copy* of all the propertys

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271469 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
90c544be23
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java

+ 7
- 0
proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java View File

@@ -92,6 +92,13 @@ public interface TaskContext
*/
Object getProperty( String name );

/**
* Retrieve a copy of all the properties accessible via context.
*
* @return the map of all property names to values
*/
Map getPropertys();

/**
* Set property value in current context.
*


Loading…
Cancel
Save