public class DeploymentStatusImpl extends Object implements javax.enterprise.deploy.spi.status.DeploymentStatus
| Constructor and Description |
|---|
DeploymentStatusImpl() |
DeploymentStatusImpl(ProgressObjectImpl progressObject)
Creates a new instance of DeploymentStatusImpl
|
| Modifier and Type | Method and Description |
|---|---|
javax.enterprise.deploy.shared.ActionType |
getAction()
Retrieve the deployment ActionType for this event.
|
javax.enterprise.deploy.shared.CommandType |
getCommand()
Retrieve the deployment CommandType of this event.
|
String |
getMessage()
Retrieve any additional information about the
status of this event.
|
javax.enterprise.deploy.shared.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.
|
void |
setCommand(javax.enterprise.deploy.shared.CommandType commandType) |
void |
setMessage(String message) |
void |
setState(javax.enterprise.deploy.shared.StateType stateType) |
public DeploymentStatusImpl(ProgressObjectImpl progressObject)
public DeploymentStatusImpl()
public javax.enterprise.deploy.shared.ActionType getAction()
getAction in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic javax.enterprise.deploy.shared.CommandType getCommand()
getCommand in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic String getMessage()
getMessage in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic javax.enterprise.deploy.shared.StateType getState()
getState in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic boolean isCompleted()
isCompleted in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic boolean isFailed()
isFailed in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic boolean isRunning()
isRunning in interface javax.enterprise.deploy.spi.status.DeploymentStatuspublic void setState(javax.enterprise.deploy.shared.StateType stateType)
public void setMessage(String message)
public void setCommand(javax.enterprise.deploy.shared.CommandType commandType)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.