Package jadex.bdiv3x.runtime
Interface IFinishableElement<E>
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(IResultListener<E> listener)Add a new listener to get notified when the goal is finished.java.lang.ExceptiongetException()Get the exception.booleanisFailed()Test if element is failed.booleanisFinished()Test if goal is finished.booleanisSucceeded()Test if element is succeeded.voidremoveListener(IResultListener<E> listener)Remove a listener.
 
- 
- 
- 
Method Detail- 
addListenervoid addListener(IResultListener<E> listener) Add a new listener to get notified when the goal is finished.- Parameters:
- listener- The listener.
 
 - 
removeListenervoid removeListener(IResultListener<E> listener) Remove a listener.- Parameters:
- listener- The listener.
 
 - 
getExceptionjava.lang.Exception getException() Get the exception.- Returns:
- The exception.
 
 - 
isSucceededboolean isSucceeded() Test if element is succeeded.- Returns:
- True, if is succeeded.
 
 - 
isFailedboolean isFailed() Test if element is failed.- Returns:
- True, if is failed.
 
 - 
isFinishedboolean isFinished() Test if goal is finished.- Returns:
- True, if is finished.
 
 
- 
 
-