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/aspects AspectHandler.java
Date Tue, 05 Jun 2001 04:35:08 GMT
donaldp     01/06/04 21:35:08

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/aspects
                        AspectHandler.java
  Log:
  Made preConfigure take taskModel as parameter. This is because original taskModel may have
been modified.
  
  Revision  Changes    Path
  1.2       +6 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/aspects/AspectHandler.java
  
  Index: AspectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/aspects/AspectHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AspectHandler.java	2001/06/04 12:38:18	1.1
  +++ AspectHandler.java	2001/06/05 04:35:07	1.2
  @@ -8,6 +8,7 @@
   package org.apache.myrmidon.aspects;
   
   import org.apache.avalon.framework.configuration.Configuration;
  +import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.log.Logger;
   import org.apache.myrmidon.api.Task;
   import org.apache.myrmidon.api.TaskException;
  @@ -20,16 +21,19 @@
    */
   public interface AspectHandler
   {
  -    Configuration preCreate( Configuration configuration )
  +    Configuration preCreate( Configuration taskModel )
           throws TaskException;
   
  +    void aspect( Parameters parameters, Configuration[] children )
  +        throws TaskException;
  +
       void postCreate( Task task )
           throws TaskException;
   
       void preLoggable( Logger logger )
           throws TaskException;
   
  -    void preConfigure()
  +    void preConfigure( Configuration taskModel )
           throws TaskException;
   
       void preExecute()
  
  
  

Mime
View raw message