|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
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. |
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!