Package org.apache.solr.cli
Class PackageTool
- java.lang.Object
-
- org.apache.solr.cli.ToolBase
-
- org.apache.solr.cli.PackageTool
-
-
Field Summary
Fields Modifier and Type Field Description PackageManager
packageManager
RepositoryManager
repositoryManager
static String
solrBaseUrl
static String
solrUrl
-
Constructor Summary
Constructors Constructor Description PackageTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHeader()
Optional header to display before the options in help output.String
getName()
Defines the interface to a Solr tool that can be run from this command-line app.List<org.apache.commons.cli.Option>
getOptions()
void
runImpl(org.apache.commons.cli.CommandLine cli)
-
Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, runTool
-
-
-
-
Field Detail
-
solrUrl
public static String solrUrl
-
solrBaseUrl
public static String solrBaseUrl
-
packageManager
public PackageManager packageManager
-
repositoryManager
public RepositoryManager repositoryManager
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Tool
Defines the interface to a Solr tool that can be run from this command-line app.
-
runImpl
public void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
-
getHeader
public String getHeader()
Description copied from interface:Tool
Optional header to display before the options in help output. Defaults to 'List of options:'
-
getOptions
public List<org.apache.commons.cli.Option> getOptions()
-
-