public interface IResult extends IStatusVariable, IActionType, IPresentation
| Modifier and Type | Method and Description |
|---|---|
IBlock |
getBlock()
Block related to this result.
|
Throwable |
getFailure()
In case of errors result, an exception hold its information.
|
Boolean |
getFullTrace()
Get full trace status.
|
String |
getMessage()
Message associated to the result.
|
IWritable |
getWritable()
Each result can have its extra information, in the form of a writable
object, in other words, a object that know how to write itself.
|
boolean |
hasBlock()
If result has a block.
|
boolean |
hasFailure()
If result has a failure.
|
boolean |
hasMessage()
If result has a message.
|
boolean |
hasWritable()
If result has a writable.
|
void |
setFullTrace(Boolean fullTrace)
Set full trace on results dump.
|
setStatusgetActionTypeasNode, asStringvoid setFullTrace(Boolean fullTrace)
fullTrace - true, to show full trace, false, otherwise. Default is 'true'.Boolean getFullTrace()
boolean hasBlock()
IBlock getBlock()
boolean hasMessage()
String getMessage()
boolean hasFailure()
Throwable getFailure()
boolean hasWritable()
IWritable getWritable()
Copyright © 2016. All rights reserved.