|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Caller
This is a utility class for call a list of callables. It can collect exceptions and continue to call the next callable in the list.
Method Summary | |
---|---|
void |
add(Callable callable)
Add a callable to the list of callables of the caller. |
boolean |
call()
Call all callables in the list of callables of the caller. |
boolean |
getCollectExceptions()
Get if the Caller can collect exceptions or exit in the first exception produced. |
List |
getExceptions()
Return the list of collected exceptions or null. |
void |
setCollectExceptions(boolean collectExceptions)
Set in the caller the behabior of collect al exceptions and continue calling the next callable in the list of our callables. |
Method Detail |
---|
boolean getCollectExceptions()
void setCollectExceptions(boolean collectExceptions)
collectExceptions
- void add(Callable callable)
callable
- List getExceptions()
boolean call()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |