|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gvsig.tools.util.impl.DefaultCaller
public class DefaultCaller
Constructor Summary | |
---|---|
DefaultCaller()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCaller()
Method Detail |
---|
public boolean call()
Caller
call
in interface 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
add
in interface Caller
public List getExceptions()
Caller
getExceptions
in interface Caller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |