Package org.glassfish.deployment.client
Class DFProgressObject
- java.lang.Object
-
- org.glassfish.deployment.client.DFProgressObject
-
- All Implemented Interfaces:
javax.enterprise.deploy.spi.status.ProgressObject
- Direct Known Subclasses:
ProgressObjectImpl
,ProgressObjectSink
public abstract class DFProgressObject extends Object implements javax.enterprise.deploy.spi.status.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
Constructors Constructor Description DFProgressObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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 deploymentDFDeploymentStatus
waitFor()
Waits for the operation which this progress object is monitoring to complete.
-
-
-
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
-
-