public class DeploymentStatusImpl extends Object implements javax.enterprise.deploy.spi.status.DeploymentStatus
Constructor and Description |
---|
DeploymentStatusImpl(javax.enterprise.deploy.shared.StateType stateType,
javax.enterprise.deploy.shared.CommandType commandType,
javax.enterprise.deploy.shared.ActionType actionType,
String message) |
Modifier and Type | Method and Description |
---|---|
javax.enterprise.deploy.shared.ActionType |
getAction()
The action of this deployment
|
javax.enterprise.deploy.shared.CommandType |
getCommand()
The deployment command
|
String |
getMessage()
Get the message
|
javax.enterprise.deploy.shared.StateType |
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
|
String |
toString() |
public DeploymentStatusImpl(javax.enterprise.deploy.shared.StateType stateType, javax.enterprise.deploy.shared.CommandType commandType, javax.enterprise.deploy.shared.ActionType actionType, String message)
public javax.enterprise.deploy.shared.StateType getState()
getState
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
public javax.enterprise.deploy.shared.CommandType getCommand()
getCommand
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
public javax.enterprise.deploy.shared.ActionType getAction()
getAction
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
public String getMessage()
getMessage
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
public boolean isCompleted()
isCompleted
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
public boolean isFailed()
isFailed
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
public boolean isRunning()
isRunning
in interface javax.enterprise.deploy.spi.status.DeploymentStatus
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.