public abstract static class SolrCLI.ToolBase extends Object implements SolrCLI.Tool
Modifier and Type | Field and Description |
---|---|
protected PrintStream |
stdout |
protected boolean |
verbose |
Modifier | Constructor and Description |
---|---|
protected |
ToolBase() |
protected |
ToolBase(PrintStream stdout) |
Modifier and Type | Method and Description |
---|---|
protected void |
echo(String msg) |
protected abstract void |
runImpl(org.apache.commons.cli.CommandLine cli) |
int |
runTool(org.apache.commons.cli.CommandLine cli) |
protected void |
upconfig(CloudSolrClient cloudSolrClient,
org.apache.commons.cli.CommandLine cli,
String confname,
String configSet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getOptions
protected PrintStream stdout
protected boolean verbose
protected ToolBase()
protected ToolBase(PrintStream stdout)
protected void echo(String msg)
public int runTool(org.apache.commons.cli.CommandLine cli) throws Exception
runTool
in interface SolrCLI.Tool
Exception
protected abstract void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
Exception
protected void upconfig(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli, String confname, String configSet) throws IOException
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.