public interface CommandResult
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getException()
Gets the exception if the command execution failed.
|
java.util.Collection |
getMessages()
Gets warning messages if there is any.
|
java.lang.Object |
getResult()
Gets the result of the command execution if the execution is successful.
|
boolean |
isSuccessful()
Returns if the last command execution is successful or not.
|
boolean isSuccessful()
java.util.Collection getMessages()
java.lang.Throwable getException()
java.lang.Object getResult()