DeploymentStatus (Java EE 5)

Java EE API


javax.enterprise.deploy.spi.status Interface DeploymentStatus


public interface DeploymentStatus


DeploymentStatus 接口提供关于部署操作进度状态的信息。
英文文档:

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


Method Summary
 ActionType
 CommandType
 String
 StateType
 boolean
 boolean
 boolean
 

Method Detail

public StateType getState()
获取 StateType 值。
return StateType 对象
英文文档:

getState

StateType getState()
Retrieve the StateType value.

Returns:
the StateType object

public CommandType getCommand()
获取此事件的部署 CommandType。
return CommandType 对象。
英文文档:

getCommand

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

Returns:
the CommandType Object

public ActionType getAction()
获取此事件的部署 ActionType。
return ActionType 对象。
英文文档:

getAction

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

Returns:
the ActionType Object

public String getMessage()
获取有关此事件状态的任何附加信息。
return 消息文本
英文文档:

getMessage

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

Returns:
message text

public boolean isCompleted()
报告操作是否处于完成状态的便捷方法。
return 如果此命令成功完成,则返回 true。
英文文档:

isCompleted

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

Returns:
true if this command has completed successfully

public boolean isFailed()
报告操作是否处于失败状态的便捷方法。
return 如果此命令失败,则返回 true。
英文文档:

isFailed

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

Returns:
true if this command has failed

public boolean isRunning()
报告操作是否处于运行状态的便捷方法。
return 如果此命令仍在运行,则返回 true。
英文文档:

isRunning

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

Returns:
true if this command is still running


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!