Package org.apache.solr.cli
Class AuthTool
java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.AuthTool
- All Implemented Interfaces:
Tool
Supports auth command in the bin/solr script.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional header to display before the options in help output.getName()Defines the interface to a Solr tool that can be run from this command-line app.org.apache.commons.cli.OptionsRetrieve theOptionssupported by this tool.getUsage()Provides a Usage string to display in help output.voidrunImpl(org.apache.commons.cli.CommandLine cli) Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, getConnectionOptions, getRuntime, isVerbose, runTool
-
Constructor Details
-
AuthTool
-
-
Method Details
-
getName
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app. -
getUsage
Description copied from interface:ToolProvides a Usage string to display in help output. Defaults to auto generating usage string. Override for custom string- Returns:
- The custom usage string or 'null' to auto generate (default)
-
getHeader
Description copied from interface:ToolOptional header to display before the options in help output. Defaults to 'List of options:' -
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
-