public class EntryCommandContext extends AbstractCommandContext
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CMD_LS |
protected static String |
CMD_USE |
protected org.alfresco.config.ConfigService |
configService |
protected org.springframework.context.ApplicationContext |
ctx |
protected String |
zkPath |
protected String |
zkUrl |
CMD_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 |
|---|
EntryCommandContext(org.springframework.context.ApplicationContext ctx,
String zkUrl,
String zkPath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPathElementsLocation(List<String> pathElements)
Help build path elements.
|
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 TreeMap<String,String> |
getCommands()
Override to provide a set of available commands
|
getCurrentDir, getLocation, getOrderedProperties, setCurrentDirprotected static final String CMD_LS
protected static final String CMD_USE
protected final org.springframework.context.ApplicationContext ctx
protected final String zkUrl
protected final String zkPath
protected final org.alfresco.config.ConfigService configService
protected TreeMap<String,String> getCommands()
AbstractCommandContextgetCommands in class AbstractCommandContextprotected void addPathElementsLocation(List<String> pathElements)
AbstractCommandContextaddPathElementsLocation in class AbstractCommandContextpathElements - elements to append topublic CommandContext executeCommand(String command)
AbstractCommandContextexecuteCommand in interface CommandContextexecuteCommand in class AbstractCommandContextcommand - the command to executeCopyright © 2013. All Rights Reserved.