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 SummaryFields Modifier and Type Field Description protected PrintStreamstdoutprotected booleanverbose
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedToolBase()protectedToolBase(PrintStream stdout)
 - 
Method SummaryAll 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.util.SolrCLI.ToolgetName, getOptions
 
- 
 
- 
- 
- 
Field Detail- 
stdoutprotected PrintStream stdout 
 - 
verboseprotected boolean verbose 
 
- 
 - 
Constructor Detail- 
ToolBaseprotected ToolBase() 
 - 
ToolBaseprotected ToolBase(PrintStream stdout) 
 
- 
 
-