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 void |
echoIfVerbose(String msg,
org.apache.commons.cli.CommandLine cli) |
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, wait
getName, getOptions
protected PrintStream stdout
protected boolean verbose
protected ToolBase()
protected ToolBase(PrintStream stdout)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.