Package org.apache.solr.cli
Class PackageTool
java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.PackageTool
- All Implemented Interfaces:
Tool
Supports package command in the bin/solr script.
-
Field Summary
FieldsModifier and TypeFieldDescription -
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.voidrunImpl(org.apache.commons.cli.CommandLine cli) Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, getConnectionOptions, getRuntime, isVerbose, runTool
-
Field Details
-
packageManager
-
repositoryManager
-
-
Constructor Details
-
PackageTool
-
-
Method Details
-
getName
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app. -
runImpl
-
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.
-