Modifier and Type | Method and Description |
---|---|
void |
addListener(IResultListener<E> listener)
Add a new listener to get notified when the goal is finished.
|
java.lang.Exception |
getException()
Get the exception.
|
boolean |
isFailed()
Test if element is failed.
|
boolean |
isFinished()
Test if goal is finished.
|
boolean |
isSucceeded()
Test if element is succeeded.
|
void |
removeListener(IResultListener<E> listener)
Remove a listener.
|
void addListener(IResultListener<E> listener)
listener
- The listener.void removeListener(IResultListener<E> listener)
listener
- The listener.java.lang.Exception getException()
boolean isSucceeded()
boolean isFailed()
boolean isFinished()