public abstract class SolrCommands extends Object implements org.apache.karaf.shell.api.action.Action
Modifier and Type | Field and Description |
---|---|
protected org.osgi.service.cm.ConfigurationAdmin |
configurationAdmin |
protected static Map<String,String> |
configurationMap |
protected PrintStream |
console |
protected static org.slf4j.Logger |
LOGGER |
protected static String |
NAMESPACE |
protected static Path |
SYSTEM_PROPERTIES_PATH |
Constructor and Description |
---|
SolrCommands() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.solr.client.solrj.SolrClient |
getCloudSolrClient() |
protected HttpWrapper |
getHttpClient() |
protected void |
printColor(org.fusesource.jansi.Ansi.Color color,
String message) |
protected void |
printErrorMessage(String message) |
protected void |
printInfoMessage(String message) |
protected void |
printSuccessMessage(String message) |
void |
setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin) |
protected void |
shutdown(org.apache.solr.client.solrj.SolrClient client) |
protected static final org.slf4j.Logger LOGGER
protected static final String NAMESPACE
protected PrintStream console
protected org.osgi.service.cm.ConfigurationAdmin configurationAdmin
protected static final Path SYSTEM_PROPERTIES_PATH
public void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
protected HttpWrapper getHttpClient()
protected void printColor(org.fusesource.jansi.Ansi.Color color, String message)
protected void printSuccessMessage(String message)
protected void printErrorMessage(String message)
protected void printInfoMessage(String message)
protected org.apache.solr.client.solrj.SolrClient getCloudSolrClient()
protected void shutdown(org.apache.solr.client.solrj.SolrClient client) throws IOException
IOException
This work is licensed under a Creative Commons Attribution 4.0 International License.