Package org.apache.solr.cli
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 executingToolBase
to access environment specific methods (mostly to differentiate test from non-test executions for now).- See Also:
ToolBase
-
-
Constructor Summary
Constructors Constructor Description ToolRuntime()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
exit(int status)
InvokesSystem.exit(int)
to force the JVM to immediately quit.abstract void
print(String message)
abstract void
println(String message)
-
-
-
Method Detail
-
print
public abstract void print(String message)
-
println
public abstract void println(String message)
-
exit
public void exit(int status)
InvokesSystem.exit(int)
to force the JVM to immediately quit.
-
-