| Constructor and Description |
|---|
DefaultCaller() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public boolean call()
Callerpublic boolean getCollectExceptions()
CallergetCollectExceptions in interface Callerpublic void setCollectExceptions(boolean collectExceptions)
CallersetCollectExceptions in interface Callerpublic void add(Callable callable)
Callerpublic List getExceptions()
CallergetExceptions in interface Caller