ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api TaskContext.java
Date Thu, 21 Feb 2002 09:29:53 GMT
donaldp     02/02/21 01:29:53

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/api
                        TaskContext.java
  Log:
  add a getPropertys() method to context so that some tasks (like Junit) can grab a *copy*
of all the propertys
  
  Revision  Changes    Path
  1.19      +8 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java
  
  Index: TaskContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TaskContext.java	21 Feb 2002 09:29:13 -0000	1.18
  +++ TaskContext.java	21 Feb 2002 09:29:53 -0000	1.19
  @@ -18,7 +18,7 @@
    * Unlike other APIs the Logging is provided through another interface (LogEnabled).
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.18 $ $Date: 2002/02/21 09:29:13 $
  + * @version $Revision: 1.19 $ $Date: 2002/02/21 09:29:53 $
    */
   public interface TaskContext
   {
  @@ -91,6 +91,13 @@
        * @return the value of property
        */
       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.
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message