public static interface ScriptEngineService.ScriptEngine
Modifier and Type | Method and Description |
---|---|
ScriptEngineService.WorkerRunnable |
createWorkerRunnable()
Create a
ScriptEngineService.WorkerRunnable that will be used to run the work
for one worker thread. |
ScriptEngineService.WorkerRunnable |
createWorkerRunnable(Object testRunner)
Create a
ScriptEngineService.WorkerRunnable that will be used to run the work
for one worker thread. |
String |
getDescription()
Returns a description of the script engine for the log.
|
void |
shutdown()
Shut down the engine.
|
ScriptEngineService.WorkerRunnable createWorkerRunnable() throws EngineException
ScriptEngineService.WorkerRunnable
that will be used to run the work
for one worker thread. The ScriptEngineService.WorkerRunnable
will forward to
a new instance of the script's TestRunner
class.EngineException
- If the runnable could not be created.ScriptEngineService.WorkerRunnable createWorkerRunnable(Object testRunner) throws EngineException
ScriptEngineService.WorkerRunnable
that will be used to run the work
for one worker thread. The ScriptEngineService.WorkerRunnable
will forward to
a the supplied TestRunner
.testRunner
- An existing script instance that is callable.EngineException
- If the runnable could not be created.void shutdown() throws EngineException
EngineException
- If the engine could not be shut down.String getDescription()
Copyright © 2000-2014. All Rights Reserved.