public class TestRunnerPlugin extends ForcePlugin
Modifier and Type | Class and Description |
---|---|
static class |
TestRunnerPlugin.TestResult |
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.BlockingQueue<java.lang.Boolean> |
readyForTests |
static java.util.concurrent.BlockingQueue<TestRunnerPlugin.TestResult> |
testResults |
Constructor and Description |
---|
TestRunnerPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(java.lang.String actionStr,
JavaScriptPluginVersion jsVersion,
JSONArray args,
CallbackContext callbackContext)
Abstract method to concrete subclass need to implement
|
execute
public static final java.util.concurrent.BlockingQueue<java.lang.Boolean> readyForTests
public static final java.util.concurrent.BlockingQueue<TestRunnerPlugin.TestResult> testResults
public boolean execute(java.lang.String actionStr, JavaScriptPluginVersion jsVersion, JSONArray args, CallbackContext callbackContext) throws JSONException
ForcePlugin
execute
in class ForcePlugin
actionStr
- The action to executeargs
- JSONArray of arguments for the plugin.callbackContext
- Used when calling back into Javascript.JSONException