DeploymentStatus (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.enterprise.deploy.spi.status Interface DeploymentStatus


public interface DeploymentStatus

The DeploymentStatus interface provides information about the progress status 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.
 

方法详细信息

getState

StateType getState()
Retrieve the StateType value.

返回:
the StateType object

getCommand

CommandType getCommand()
Retrieve the deployment CommandType of this event.

返回:
the CommandType Object

getAction

ActionType getAction()
Retrieve the deployment ActionType for this event.

返回:
the ActionType Object

getMessage

String getMessage()
Retrieve any additional information about the status of this event.

返回:
message text

isCompleted

boolean isCompleted()
A convience method to report if the operation is in the completed state.

返回:
true if this command has completed successfully

isFailed

boolean isFailed()
A convience method to report if the operation is in the failed state.

返回:
true if this command has failed

isRunning

boolean isRunning()
A convience method to report if the operation is in the running state.

返回:
true if this command is still running

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.