javax.enterprise.deploy.spi.status

Class ProgressEvent


public class ProgressEvent
extends EventObject

An event which indicates that a deployment status change has occurred.
See Also:
ProgressObject, ProgressListener

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.

Constructor Details

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 Details

getDeploymentStatus

public DeploymentStatus getDeploymentStatus()
Retrieves the status information for this event.
Returns:
the object containing the status information.

getTargetModuleID

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