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-myrmidon/api/src/java/org/apache/myrmidon/aspects AbstractAspectHandler.java AspectHandler.java
Date Sun, 21 Apr 2002 01:27:23 GMT
donaldp     02/04/20 18:27:23

  Modified:    api/src/java/org/apache/myrmidon/aspects
                        AbstractAspectHandler.java AspectHandler.java
  Log:
  Configuration --> TaskModel
  Parameters --> Properties
  
  Revision  Changes    Path
  1.10      +9 -9      jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AbstractAspectHandler.java
  
  Index: AbstractAspectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AbstractAspectHandler.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbstractAspectHandler.java	18 Mar 2002 02:44:28 -0000	1.9
  +++ AbstractAspectHandler.java	21 Apr 2002 01:27:23 -0000	1.10
  @@ -7,36 +7,36 @@
    */
   package org.apache.myrmidon.aspects;
   
  -import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.logger.Logger;
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.myrmidon.api.Task;
   import org.apache.myrmidon.api.TaskException;
  +import org.apache.myrmidon.api.metadata.ModelElement;
   
   /**
    * AspectHandler is the interface through which aspects are handled.
    *
    * @author Conor MacNeill
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.9 $ $Date: 2002/03/18 02:44:28 $
  + * @version $Revision: 1.10 $ $Date: 2002/04/21 01:27:23 $
    */
   public abstract class AbstractAspectHandler
       implements AspectHandler
   {
       private Parameters m_aspectParameters;
  -    private Configuration[] m_aspectElements;
  +    private ModelElement[] m_aspectElements;
   
       private Task m_task;
       private Logger m_logger;
  -    private Configuration m_taskModel;
  +    private ModelElement m_taskModel;
   
  -    public Configuration preCreate( final Configuration taskModel )
  +    public ModelElement preCreate( final ModelElement taskModel )
           throws TaskException
       {
           return taskModel;
       }
   
  -    public void aspectSettings( final Parameters parameters, final Configuration[] elements
)
  +    public void aspectSettings( final Parameters parameters, final ModelElement[] elements
)
           throws TaskException
       {
           m_aspectParameters = parameters;
  @@ -55,7 +55,7 @@
           m_logger = logger;
       }
   
  -    public void preConfigure( final Configuration taskModel )
  +    public void preConfigure( final ModelElement taskModel )
           throws TaskException
       {
           m_taskModel = taskModel;
  @@ -88,7 +88,7 @@
           m_taskModel = null;
       }
   
  -    protected final Configuration getTaskModel()
  +    protected final ModelElement getTaskModel()
       {
           return m_taskModel;
       }
  @@ -103,7 +103,7 @@
           return m_logger;
       }
   
  -    protected final Configuration[] getAspectElements()
  +    protected final ModelElement[] getAspectElements()
       {
           return m_aspectElements;
       }
  
  
  
  1.13      +5 -5      jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AspectHandler.java
  
  Index: AspectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AspectHandler.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AspectHandler.java	18 Mar 2002 02:44:28 -0000	1.12
  +++ AspectHandler.java	21 Apr 2002 01:27:23 -0000	1.13
  @@ -7,28 +7,28 @@
    */
   package org.apache.myrmidon.aspects;
   
  -import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.logger.Logger;
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.myrmidon.api.Task;
   import org.apache.myrmidon.api.TaskException;
  +import org.apache.myrmidon.api.metadata.ModelElement;
   
   /**
    * AspectHandler is the interface through which aspects are handled.
    *
    * @author Conor MacNeill
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.12 $ $Date: 2002/03/18 02:44:28 $
  + * @version $Revision: 1.13 $ $Date: 2002/04/21 01:27:23 $
    * @ant:role shorthand="aspect"
    */
   public interface AspectHandler
   {
       String ROLE = AspectHandler.class.getName();
   
  -    Configuration preCreate( Configuration taskModel )
  +    ModelElement preCreate( ModelElement taskModel )
           throws TaskException;
   
  -    void aspectSettings( Parameters parameters, Configuration[] children )
  +    void aspectSettings( Parameters parameters, ModelElement[] children )
           throws TaskException;
   
       void postCreate( Task task )
  @@ -37,7 +37,7 @@
       void preLogEnabled( Logger logger )
           throws TaskException;
   
  -    void preConfigure( Configuration taskModel )
  +    void preConfigure( ModelElement taskModel )
           throws TaskException;
   
       void preExecute()
  
  
  

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