public class SpinOverEvaluator extends Evaluator
Constructor and Description |
---|
SpinOverEvaluator()
Create an evaluator for spin-over using the default wait setting.
|
SpinOverEvaluator(boolean wait)
Create an evaluator for spin-over.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Invocation invocation)
Spin the given invocation on the EDT.
|
static boolean |
getDefaultWait()
Should evaluations wait for the invocations.
|
protected void |
onInvokeLaterNonVoidReturnType(Invocation invocation)
Hook method to handle a non-void return type of a invoked method.
|
static void |
setDefaultWait(boolean wait)
Should evaluations wait for the invocations.
|
public SpinOverEvaluator()
setDefaultWait(boolean)
public SpinOverEvaluator(boolean wait)
wait
- should the invocation wait for the evaluation to completepublic final void evaluate(Invocation invocation) throws Throwable
protected void onInvokeLaterNonVoidReturnType(Invocation invocation)
invocation
- the invocationIllegalArgumentException
public static boolean getDefaultWait()
true
if waitpublic static void setDefaultWait(boolean wait)
wait
- true
if waitCopyright © 2013. All rights reserved.