Class RunExampleTool

java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.RunExampleTool
All Implemented Interfaces:
Tool

public class RunExampleTool extends ToolBase
Supports start command in the bin/solr script.

Enhances start command by providing an interactive session with the user to launch (or relaunch the -e cloud example)

  • Field Details

    • userInput

      protected InputStream userInput
    • executor

      protected org.apache.commons.exec.Executor executor
    • script

      protected String script
    • serverDir

      protected Path serverDir
    • exampleDir

      protected Path exampleDir
    • solrHomeDir

      protected Path solrHomeDir
    • urlScheme

      protected String urlScheme
  • Constructor Details

    • RunExampleTool

      public RunExampleTool(ToolRuntime runtime)
      Default constructor used by the framework when running as a command-line application.
    • RunExampleTool

      public RunExampleTool(org.apache.commons.exec.Executor executor, InputStream userInput, ToolRuntime runtime)
  • Method Details