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.ConfigSetDownloadTool,SolrCLI.ConfigSetUploadTool,SolrCLI.ConfigTool,SolrCLI.CreateCollectionTool,SolrCLI.CreateCoreTool,SolrCLI.CreateTool,SolrCLI.DeleteTool,SolrCLI.RunExampleTool,SolrCLI.SolrCloudTool,SolrCLI.StatusTool,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 PrintStreamstdoutprotected booleanverbose
-
Constructor Summary
Constructors Modifier Constructor Description protectedToolBase()protectedToolBase(PrintStream stdout)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidecho(String msg)protected voidechoIfVerbose(String msg, org.apache.commons.cli.CommandLine cli)protected abstract voidrunImpl(org.apache.commons.cli.CommandLine cli)intrunTool(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)
-
-