|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployment.spi.status.ProgressObjectImpl
The ProgressObject interface tracks and reports the progress of the deployment activities, distribute, start, stop, undeploy.
Constructor Summary | |
ProgressObjectImpl(DeploymentStatus (src) deploymentStatus,
TargetModuleID (src) [] targetModules)
|
Method Summary | |
void |
addProgressListener(ProgressListener (src) listener)
Add a progress listener |
void |
cancel()
Cancels the deployment |
ClientConfiguration (src) |
getClientConfiguration(TargetModuleID (src) id)
Return the client configuration associated with the module |
DeploymentStatus (src) |
getDeploymentStatus()
Retrieve the status of the deployment |
TargetModuleID (src) [] |
getResultTargetModuleIDs()
Retrieve the resulting target module ids |
boolean |
isCancelSupported()
Is cancel supported |
boolean |
isStopSupported()
Is stop supported |
void |
removeProgressListener(ProgressListener (src) listener)
Remove a progress listener |
void |
sendProgressEvent(StateType (src) stateType,
java.lang.String message,
TargetModuleID (src) moduleID)
Set the current deployment status |
void |
stop()
Stops the deployment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProgressObjectImpl(DeploymentStatus (src) deploymentStatus, TargetModuleID (src) [] targetModules)
Method Detail |
public void sendProgressEvent(StateType (src) stateType, java.lang.String message, TargetModuleID (src) moduleID)
public DeploymentStatus (src) getDeploymentStatus()
getDeploymentStatus
in interface ProgressObject (src)
public TargetModuleID (src) [] getResultTargetModuleIDs()
getResultTargetModuleIDs
in interface ProgressObject (src)
public ClientConfiguration (src) getClientConfiguration(TargetModuleID (src) id)
getClientConfiguration
in interface ProgressObject (src)
id
- the module id
public boolean isCancelSupported()
isCancelSupported
in interface ProgressObject (src)
public void cancel() throws OperationUnsupportedException (src)
cancel
in interface ProgressObject (src)
OperationUnsupportedException (src)
- when cancel is not supportedpublic boolean isStopSupported()
isStopSupported
in interface ProgressObject (src)
public void stop() throws OperationUnsupportedException (src)
stop
in interface ProgressObject (src)
OperationUnsupportedException (src)
- when stop is not supportedpublic void addProgressListener(ProgressListener (src) listener)
addProgressListener
in interface ProgressObject (src)
listener
- the listenerpublic void removeProgressListener(ProgressListener (src) listener)
removeProgressListener
in interface ProgressObject (src)
listener
- the listener
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |