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 |
SolrCLI.ToolBase() |
protected |
SolrCLI.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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getOptionsprotected PrintStream stdout
protected boolean verbose
protected SolrCLI.ToolBase()
protected SolrCLI.ToolBase(PrintStream stdout)
protected void echo(String msg)
public int runTool(org.apache.commons.cli.CommandLine cli)
throws Exception
runTool in interface SolrCLI.ToolExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.