Package randoop.main
Class CommandHandler
java.lang.Object
randoop.main.CommandHandler
- Direct Known Subclasses:
GenInputsAbstract
,Help
,Minimize
A command is the first argument given to Randoop. A command handler handles one command. It also
takes care of printing the command's documentation.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
final boolean
final void
printHTML
(PrintStream out) Prints out formatted text in (google code) Wiki format.final void
usageMessage
(PrintStream out)
-
Field Details
-
fcommand
-
fpitch
-
fcommandGrammar
-
fwhere
-
fsummary
-
fnotes
-
finput
-
foutput
-
fexample
-
foptions
public org.plumelib.options.Options foptions
-
-
Constructor Details
-
CommandHandler
protected CommandHandler(String command, String pitch, String commandGrammar, String where, String summary, List<String> notes, String input, String output, String example, org.plumelib.options.Options options) No arguments should be null.- Parameters:
command
- the name of the commandpitch
- the description of the commandcommandGrammar
- the usage of the commandwhere
- the wheresummary
- the summary of the commandnotes
- the notes for the commandinput
- the inputoutput
- the outputexample
- the usage exampleoptions
- the command line arguments
-
-
Method Details
-
handles
-
handle
-
printHTML
Prints out formatted text in (google code) Wiki format.- Parameters:
out
- the output stream for printing html formatted usage
-
usageMessage
-