Package org.apache.solr.cli
Class ConfigTool
java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.ConfigTool
- All Implemented Interfaces:
Tool
Supports config command in the bin/solr script.
Sends a POST to the Config API to perform a specified action.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, getConnectionOptions, getRuntime, isVerbose, runTool
-
Constructor Details
-
ConfigTool
-
-
Method Details
-
getName
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app. -
getOptions
public org.apache.commons.cli.Options getOptions()Description copied from interface:ToolRetrieve theOptionssupported by this tool.- Specified by:
getOptionsin interfaceTool- Overrides:
getOptionsin classToolBase- Returns:
- The
Optionsthis tool supports.
-
runImpl
-