javax.enterprise.deploy.spi.status
Interface DeploymentStatus
public interface DeploymentStatus
The DeploymentStatus interface provides information about the progress of a
deployment action.
ActionType | getAction() - Retrieve the deployment ActionType for this event.
|
CommandType | getCommand() - Retrieve the deployment CommandType of this event.
|
String | getMessage() - Retrieve any additional information about the status of this event.
|
StateType | getState() - Retrieve the StateType value.
|
boolean | isCompleted() - A convience method to report if the operation is in the completed state.
|
boolean | isFailed() - A convience method to report if the operation is in the failed state.
|
boolean | isRunning() - A convience method to report if the operation is in the running state.
|
getAction
public ActionType getAction()
Retrieve the deployment ActionType for this event.
getCommand
public CommandType getCommand()
Retrieve the deployment CommandType of this event.
getMessage
public String getMessage()
Retrieve any additional information about the status of this event.
getState
public StateType getState()
Retrieve the StateType value.
isCompleted
public boolean isCompleted()
A convience method to report if the operation is in the completed state.
- true if this command has completed successfully
isFailed
public boolean isFailed()
A convience method to report if the operation is in the failed state.
- true if this command has failed
isRunning
public boolean isRunning()
A convience method to report if the operation is in the running state.
- true if this command is still running