javax.enterprise.deploy.spi.status
Interface DeploymentStatus

All Known Implementing Classes:
DeploymentStatusImpl (src)

public interface DeploymentStatus

The status of the deployment.


Method Summary
 ActionType (src) getAction()
          The action of this deployment
 CommandType (src) getCommand()
          The deployment command
 java.lang.String getMessage()
          Get the message
 StateType (src) getState()
          Get the state of the deployment
 boolean isCompleted()
          Is the deployment complete
 boolean isFailed()
          Has the deployment failed
 boolean isRunning()
          Is the deployment in progress
 

Method Detail

getState

public StateType (src)  getState()
Get the state of the deployment

Returns:
the state

getCommand

public CommandType (src)  getCommand()
The deployment command

Returns:
the command

getAction

public ActionType (src)  getAction()
The action of this deployment

Returns:
the action

getMessage

public java.lang.String getMessage()
Get the message

Returns:
the message

isCompleted

public boolean isCompleted()
Is the deployment complete

Returns:
true when complete, false otherwise

isFailed

public boolean isFailed()
Has the deployment failed

Returns:
true when failed, false otherwise

isRunning

public boolean isRunning()
Is the deployment in progress

Returns:
true when in progress, false otherwise