public class TestRunCommandContext extends TestCommandContext
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CMD_EDIT_NOTES |
protected static String |
CMD_EDIT_PROPERTIES |
protected static String |
CMD_EXPORT_RESULTS |
protected static String |
CMD_PAUSE |
protected static String |
CMD_RUN |
protected static String |
CMD_SHOW_CHART |
protected static String |
CMD_SHOW_PROPERTIES |
protected static String |
CMD_SHOW_STATE |
protected static String |
CMD_STOP |
protected String |
run
Name of the test run in context
|
CMD_DELETE_JAR, CMD_LOAD, CMD_SHOW_JARS, CMD_UNLOAD, CMD_UPLOAD_CONFIG, CMD_UPLOAD_JAR, testcluster, CMD_BACK, CMD_CREATE, CMD_RM, CMD_SHOW_LOADED, CMD_SHOW_SERVERS, CMD_STOP_SERVERCMD_LS, CMD_USE, configService, ctx, zkPath, zkUrlCMD_EXIT, CMD_HELP, CMD_HELP_SHORTDEFAULT_RUNSTATE, DEFAULT_SERVER_ID, EXT_JAR, EXT_PROPERTIES, EXT_XML, PATH_CLASSES, PATH_CLUSTER_PROPERTIES, PATH_CLUSTERS, PATH_CONFIG, PATH_JARS, PATH_LOADED, PATH_RUN_PROPERTIES, PATH_RUNS, PATH_SERVER, PATH_SERVERS, PATH_TEST_CONTEXT, PATH_TEST_PROPERTIES, PATH_TESTS, PROP_CLUSTER, PROP_CONTROL_RUN_STATE, PROP_EVENTS_THREAD_COUNT, PROP_EVENTS_THREAD_EVENTSPERSECONDPERTHREAD, PROP_EVENTS_THREAD_WAITFORCOMPLETION, PROP_HTTP_CONNECTION_MAX, PROP_HTTP_CONNECTION_TIMEOUT_MS, PROP_HTTP_SOCKET_TIMEOUT_MS, PROP_HTTP_SOCKET_TTL_MS, PROP_MONGO_AUTOCONNECTRETRY, PROP_MONGO_CONNECTIONSPERHOST, PROP_MONGO_SOCKETTIMEOUT, PROP_MONGO_URI, PROP_MONGO_WRITENUMBER, PROP_SERVER_ID, PROP_TEST_NAME, PROP_TEST_RUN_FQN, PROP_TEST_RUN_NAME, SEPARATOR| Constructor and Description |
|---|
TestRunCommandContext(TestCommandContext testCommandContext,
String run) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPathElementsLocation(List<String> pathElements)
Help build path elements.
|
protected void |
editRunNotes() |
protected void |
editRunProperties() |
CommandContext |
executeCommand(String command)
For this to have been called, we have to assume that the command has
not been recognized further down the hierarchy.
|
protected void |
exportRunResults(int numberOfResults) |
protected TreeMap<String,String> |
getCommands()
Override to provide a set of available commands
|
protected Properties |
getRunProperties() |
protected void |
showRunProperties() |
protected void |
showRunResults() |
createTestRun, deleteTestRuns, editTestProperties, getTestProperties, loadTestRun, setRunState, showTestProperties, showTestRuns, unloadTestRun, useTestRuncreateTest, deleteTest, editClusterProperties, getClusterProperties, getLoadedTestRuns, showClusterProperties, showLoaded, showServers, showTests, stopServer, useTestgetCurrentDir, getLocation, getOrderedProperties, setCurrentDirprotected static final String CMD_SHOW_STATE
protected static final String CMD_RUN
protected static final String CMD_PAUSE
protected static final String CMD_STOP
protected static final String CMD_EDIT_NOTES
protected static final String CMD_SHOW_PROPERTIES
protected static final String CMD_EDIT_PROPERTIES
protected static final String CMD_EXPORT_RESULTS
protected static final String CMD_SHOW_CHART
protected final String run
public TestRunCommandContext(TestCommandContext testCommandContext, String run)
testCommandContext - the test contexttest - the test run being usedprotected TreeMap<String,String> getCommands()
AbstractCommandContextgetCommands in class TestCommandContextprotected void addPathElementsLocation(List<String> pathElements)
AbstractCommandContextaddPathElementsLocation in class TestCommandContextpathElements - elements to append topublic CommandContext executeCommand(String command)
AbstractCommandContextexecuteCommand in interface CommandContextexecuteCommand in class TestCommandContextcommand - the command to executeprotected void editRunNotes()
protected final Properties getRunProperties()
protected void showRunProperties()
protected void editRunProperties()
protected void showRunResults()
protected void exportRunResults(int numberOfResults)
Copyright © 2013. All Rights Reserved.