Class ToolRuntime

java.lang.Object
org.apache.solr.cli.ToolRuntime
Direct Known Subclasses:
DefaultToolRuntime

public abstract class ToolRuntime extends Object
An implementation of this class is specified when executing ToolBase to access environment specific methods (mostly to differentiate test from non-test executions for now).
See Also:
  • Constructor Details

    • ToolRuntime

      public ToolRuntime()
  • Method Details

    • print

      public abstract void print(String message)
    • println

      public abstract void println(String message)
    • exit

      public void exit(int status)
      Invokes System.exit(int) to force the JVM to immediately quit.