Package org.apache.solr.util
Class SolrCLI.ToolBase
- java.lang.Object
-
- org.apache.solr.util.SolrCLI.ToolBase
-
- All Implemented Interfaces:
SolrCLI.Tool
- Direct Known Subclasses:
ExportTool
,PackageTool
,SolrCLI.ApiTool
,SolrCLI.AssertTool
,SolrCLI.AuthTool
,SolrCLI.AutoscalingTool
,SolrCLI.ConfigSetDownloadTool
,SolrCLI.ConfigSetUploadTool
,SolrCLI.ConfigTool
,SolrCLI.CreateCollectionTool
,SolrCLI.CreateCoreTool
,SolrCLI.CreateTool
,SolrCLI.DeleteTool
,SolrCLI.RunExampleTool
,SolrCLI.SolrCloudTool
,SolrCLI.StatusTool
,SolrCLI.UtilsTool
,SolrCLI.ZkCpTool
,SolrCLI.ZkLsTool
,SolrCLI.ZkMkrootTool
,SolrCLI.ZkMvTool
,SolrCLI.ZkRmTool
- Enclosing class:
- SolrCLI
public abstract static class SolrCLI.ToolBase extends Object implements SolrCLI.Tool
-
-
Field Summary
Fields Modifier and Type Field Description protected PrintStream
stdout
protected boolean
verbose
-
Constructor Summary
Constructors Modifier Constructor Description protected
ToolBase()
protected
ToolBase(PrintStream stdout)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.util.SolrCLI.Tool
getName, getOptions
-
-
-
-
Field Detail
-
stdout
protected PrintStream stdout
-
verbose
protected boolean verbose
-
-
Constructor Detail
-
ToolBase
protected ToolBase()
-
ToolBase
protected ToolBase(PrintStream stdout)
-
-