javax.enterprise.deploy.spi.status
public interface ProgressObject
Method Summary | |
---|---|
void | addProgressListener(ProgressListener pol)
Add a listener to receive progress events on deployment actions.
|
void | cancel()
(optional) A cancel request on an in-process operation stops all further
processing of the operation and returns the environment to it original
state before the operation was executed. |
ClientConfiguration | getClientConfiguration(TargetModuleID id)
Return the ClientConfiguration object associated with the
TargetModuleID.
|
DeploymentStatus | getDeploymentStatus()
Retrieve the status of this activity.
|
TargetModuleID[] | getResultTargetModuleIDs()
Retrieve the list of TargetModuleIDs successfully processed or created
by the associated DeploymentManager operation.
|
boolean | isCancelSupported()
Tests whether the vendor supports a cancel operation for this
deployment action.
|
boolean | isStopSupported()
Tests whether the vendor supports a stop operation for the deployment
action.
|
void | removeProgressListener(ProgressListener pol)
Remove a progress listener.
|
void | stop()
(optional) A stop request on an in-process operation allows the
operation on the current TargetModuleID to run to completion but does
not process any of the remaining unprocessed TargetModuleID objects.
|
Parameters: pol the listener to receive events
Throws: OperationUnsupportedException occurs when this optional command is not supported by this implementation.
Returns: ClientConfiguration for a given TargetModuleID or null if none exists.
Returns: An object containing the status information.
Returns: a list of TargetModuleIDs.
Returns: true if this platform allows this action to be canceled.
Returns: true if this platform allows this action to be stopped.
Parameters: pol the listener to remove
Throws: OperationUnsupportedException occurs when this optional command is not supported by this implementation.