|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ScriptEngineService.ScriptEngine
Handler for a particular type of script.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||