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.
|
ListBaseException |
getException()
Return the collected exceptions as a ListBaseException or null.
|
java.util.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()
Caller
public boolean getCollectExceptions()
Caller
getCollectExceptions
in interface Caller
public void setCollectExceptions(boolean collectExceptions)
Caller
setCollectExceptions
in interface Caller
public void add(Callable callable)
Caller
public java.util.List getExceptions()
Caller
getExceptions
in interface Caller
public ListBaseException getException()
Caller
getException
in interface Caller