Top Description Methods
javax.enterprise.deploy.spi.status

public Interface DeploymentStatus

Imports
javax.enterprise.deploy.shared.StateType, .CommandType, .ActionType

The DeploymentStatus interface provides information about the progress status of a deployment action.

Method Summary

Modifier and TypeMethod and Description
public ActionType

Returns:

the ActionType Object
getAction
()

Retrieve the deployment ActionType for this event.

public CommandType

Returns:

the CommandType Object
getCommand
()

Retrieve the deployment CommandType of this event.

public String

Returns:

message text
getMessage
()

Retrieve any additional information about the status of this event.

public StateType

Returns:

the StateType object
getState
()

Retrieve the StateType value.

public boolean

Returns:

true if this command has completed successfully
isCompleted
()

A convience method to report if the operation is in the completed state.

public boolean

Returns:

true if this command has failed
isFailed
()

A convience method to report if the operation is in the failed state.

public boolean

Returns:

true if this command is still running
isRunning
()

A convience method to report if the operation is in the running state.

Method Detail

getActionback to summary
public ActionType getAction()

Retrieve the deployment ActionType for this event.

Returns:ActionType

the ActionType Object

getCommandback to summary
public CommandType getCommand()

Retrieve the deployment CommandType of this event.

Returns:CommandType

the CommandType Object

getMessageback to summary
public String getMessage()

Retrieve any additional information about the status of this event.

Returns:String

message text

getStateback to summary
public StateType getState()

Retrieve the StateType value.

Returns:StateType

the StateType object

isCompletedback to summary
public boolean isCompleted()

A convience method to report if the operation is in the completed state.

Returns:boolean

true if this command has completed successfully

isFailedback to summary
public boolean isFailed()

A convience method to report if the operation is in the failed state.

Returns:boolean

true if this command has failed

isRunningback to summary
public boolean isRunning()

A convience method to report if the operation is in the running state.

Returns:boolean

true if this command is still running