org.glassfish.deployment.client
Class DFProgressObject

java.lang.Object
  extended by org.glassfish.deployment.client.DFProgressObject
All Implemented Interfaces:
ProgressObject
Direct Known Subclasses:
ProgressObjectImpl, ProgressObjectSink

public abstract class DFProgressObject
extends Object
implements ProgressObject

This interface extends the JSR88 interface for providing deployment operations feedback and progress information. In particular, it allows to retrieve the complete JES deployment status object with all the phases information.

Author:
Jerome Dochez

Constructor Summary
DFProgressObject()
           
 
Method Summary
abstract  DFDeploymentStatus getCompletedStatus()
          Once the progress object has reached a completed or failed state, this API will permit to retrieve the final status information for the deployment
 DFDeploymentStatus waitFor()
          Waits for the operation which this progress object is monitoring to complete.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.deploy.spi.status.ProgressObject
addProgressListener, cancel, getClientConfiguration, getDeploymentStatus, getResultTargetModuleIDs, isCancelSupported, isStopSupported, removeProgressListener, stop
 

Constructor Detail

DFProgressObject

public DFProgressObject()
Method Detail

getCompletedStatus

public abstract DFDeploymentStatus getCompletedStatus()
Once the progress object has reached a completed or failed state, this API will permit to retrieve the final status information for the deployment

Returns:
the deployment status

waitFor

public DFDeploymentStatus waitFor()
Waits for the operation which this progress object is monitoring to complete.

Returns:
the completed status


Copyright © 2012. All Rights Reserved.