javax.enterprise.deploy.spi.status
Class ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.enterprise.deploy.spi.status.ProgressEvent
All Implemented Interfaces:
Serializable

public class ProgressEvent
extends EventObject

An event which indicates that a deployment status change has occurred.

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
See Also:
ProgressObject, ProgressListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProgressEvent(Object source, TargetModuleID targetModuleID, DeploymentStatus sCode)
          Creates a new object representing a deployment progress event.
 
Method Summary
 DeploymentStatus getDeploymentStatus()
          Retrieves the status information for this event.
 TargetModuleID getTargetModuleID()
          Retrieves the TargetModuleID for this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProgressEvent

public ProgressEvent(Object source,
                     TargetModuleID targetModuleID,
                     DeploymentStatus sCode)
Creates a new object representing a deployment progress event.

Parameters:
source - the object on which the Event initially occurred.
targetModuleID - the combination of target and module for which the event occured.
sCode - the object containing the status information.
Method Detail

getTargetModuleID

public TargetModuleID getTargetModuleID()
Retrieves the TargetModuleID for this event.

Returns:
the TargetModuleID

getDeploymentStatus

public DeploymentStatus getDeploymentStatus()
Retrieves the status information for this event.

Returns:
the object containing the status information.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.