Clover coverage report - J2EE Deployment - 1.0.0
Coverage timestamp: sam. déc. 27 2003 15:14:34 CET
file stats: LOC: 62   Methods: 3
NCLOC: 22   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ProgressEvent.java - 0% 0% 0%
coverage
 1   
 /*
 2   
  * EJTools, the Enterprise Java Tools
 3   
  *
 4   
  * Distributable under LGPL license.
 5   
  * See terms of license at www.gnu.org.
 6   
  */
 7   
 package javax.enterprise.deploy.spi.status;
 8   
 
 9   
 import java.util.EventObject;
 10   
 
 11   
 import javax.enterprise.deploy.spi.TargetModuleID;
 12   
 
 13   
 /**
 14   
  * An event which indicates that a deployment status change has occurred.
 15   
  *
 16   
  * @author    Laurent Etiemble
 17   
  * @version   $Revision: 1.1 $
 18   
  * @since     1.0
 19   
  */
 20   
 public class ProgressEvent extends EventObject
 21   
 {
 22   
    private DeploymentStatus status;
 23   
    private TargetModuleID target;
 24   
 
 25   
 
 26   
    /**
 27   
     * Creates a new object representing a deployment progress event.
 28   
     *
 29   
     * @param source  the object on which the Event initially occurred.
 30   
     * @param target  Description of the Parameter
 31   
     * @param status  Description of the Parameter
 32   
     */
 33  0
    public ProgressEvent(Object source, TargetModuleID target, DeploymentStatus status)
 34   
    {
 35  0
       super(source);
 36  0
       this.target = target;
 37  0
       this.status = status;
 38   
    }
 39   
 
 40   
 
 41   
    /**
 42   
     * Retrieve the status information.
 43   
     *
 44   
     * @return   the object containing the status information.
 45   
     */
 46  0
    public DeploymentStatus getDeploymentStatus()
 47   
    {
 48  0
       return this.status;
 49   
    }
 50   
 
 51   
 
 52   
    /**
 53   
     * Retrieve the TargetModuleID for this event
 54   
     *
 55   
     * @return   the object containing the TargetModuleID
 56   
     */
 57  0
    public TargetModuleID getTargetModuleID()
 58   
    {
 59  0
       return this.target;
 60   
    }
 61   
 }
 62