Package org.testng.internal.invokers
Class InvokeMethodRunnable
- java.lang.Object
-
- org.testng.internal.invokers.InvokeMethodRunnable
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Boolean>
public class InvokeMethodRunnable extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Boolean>
A Runnable Method invoker.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvokeMethodRunnable.TestNGRuntimeException
-
Constructor Summary
Constructors Constructor Description InvokeMethodRunnable(ITestNGMethod thisMethod, java.lang.Object instance, java.lang.Object[] parameters, IHookable hookable, ITestResult testResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
call()
boolean
run()
-
-
-
Constructor Detail
-
InvokeMethodRunnable
public InvokeMethodRunnable(ITestNGMethod thisMethod, java.lang.Object instance, java.lang.Object[] parameters, IHookable hookable, ITestResult testResult)
-
-
Method Detail
-
run
public boolean run() throws InvokeMethodRunnable.TestNGRuntimeException
-
call
public java.lang.Boolean call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.lang.Boolean>
- Throws:
java.lang.Exception
-
-