avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container ContainerEvent.java
Date Thu, 22 Aug 2002 10:30:37 GMT
mcconnell    2002/08/22 03:30:37

  Modified:    assembly/src/java/org/apache/excalibur/merlin/container
                        ContainerEvent.java
  Log:
  checkstyle ok
  
  Revision  Changes    Path
  1.2       +13 -2     jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/ContainerEvent.java
  
  Index: ContainerEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/ContainerEvent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContainerEvent.java	4 Aug 2002 06:43:20 -0000	1.1
  +++ ContainerEvent.java	22 Aug 2002 10:30:37 -0000	1.2
  @@ -9,11 +9,13 @@
   package org.apache.excalibur.merlin.container;
   
   import java.util.EventObject;
  -import org.apache.excalibur.merlin.model.Profile;
   
   /**
    * The <code>ContentEvent</code> is an event raised by a container
    * signally the addition or removal of a component profile.
  + *
  + * @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
  + * @version $Revision$ $Date$
    */
   
   public class ContainerEvent extends EventObject
  @@ -23,7 +25,14 @@
       // static
       //============================================================
   
  +   /**
  +    * Constant for ADD mode.
  +    */
       public static final int ADD = 0;
  +
  +   /**
  +    * Constant for REMOVE mode.
  +    */
       public static final int REMOVE = 1;
   
       //============================================================
  @@ -48,7 +57,7 @@
      /**
       * Creation of a new ContainerEvent.
       *
  -    * @param container the source container
  +    * @param source the source container
       * @param container the container that has been added or removed
       * @param mode int value of (@link #ADD} or {@link #REMOVE}
       */
  @@ -74,6 +83,7 @@
   
      /**
       * Returns the container that was added or removed from the source container.
  +    * @return the child container 
       */
       public Container getChildContainer()
       {
  @@ -82,6 +92,7 @@
   
      /**
       * Returns the event mode.
  +    * @return the event mode (either ADD or REMOVE)
       */
       public int getMode()
       {
  
  
  

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


Mime
View raw message