Package org.apache.solr.util
Class SolrCLI.SolrCloudTool
- java.lang.Object
- 
- org.apache.solr.util.SolrCLI.ToolBase
- 
- org.apache.solr.util.SolrCLI.SolrCloudTool
 
 
- 
- All Implemented Interfaces:
- SolrCLI.Tool
 - Direct Known Subclasses:
- SolrCLI.HealthcheckTool
 - Enclosing class:
- SolrCLI
 
 public abstract static class SolrCLI.SolrCloudTool extends SolrCLI.ToolBase Helps build SolrCloud aware tools by initializing a CloudSolrClient instance before running the tool.
- 
- 
Field Summary- 
Fields inherited from class org.apache.solr.util.SolrCLI.ToolBasestdout, verbose
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedSolrCloudTool(PrintStream stdout)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.apache.commons.cli.Option[]getOptions()protected abstract voidrunCloudTool(CloudLegacySolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli)Runs a SolrCloud tool with CloudSolrClient initializedprotected voidrunImpl(org.apache.commons.cli.CommandLine cli)- 
Methods inherited from class org.apache.solr.util.SolrCLI.ToolBaseecho, echoIfVerbose, runTool
 - 
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
 
- 
 
- 
- 
- 
Constructor Detail- 
SolrCloudToolprotected SolrCloudTool(PrintStream stdout) 
 
- 
 - 
Method Detail- 
getOptionspublic org.apache.commons.cli.Option[] getOptions() 
 - 
runImplprotected void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception- Specified by:
- runImplin class- SolrCLI.ToolBase
- Throws:
- Exception
 
 - 
runCloudToolprotected abstract void runCloudTool(CloudLegacySolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception Runs a SolrCloud tool with CloudSolrClient initialized- Throws:
- Exception
 
 
- 
 
-