|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExecutionResult
Represents the result of execution of a command.
Can be retrieved using methods ICommandExecutionContainer.getResult()
or ICommandExecutionContainer.awaitFinalized() when container reaches
its "finalized" state.
| Method Summary | |
|---|---|
CommandExecutionException |
getError()
Returns exception with which command was finished if some error happened during execution of a command. |
boolean |
isCompleted()
True if command execution container was ended normally
(without errors or was not canceled). |
boolean |
wasCanceled()
True if command execution container was canceled by user
before it was finished. |
| Method Detail |
|---|
boolean wasCanceled()
True if command execution container was canceled by user
before it was finished.
If this method returns true then isCompleted() will
return false.
true if command execution container was canceled by
user before it was finished.boolean isCompleted()
True if command execution container was ended normally
(without errors or was not canceled).
true if command execution container was ended
normally (without errors or was not canceled).CommandExecutionException getError()
null if
command was ended correctly.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||