randoop.main
Class CommandHandler
Object
CommandHandler
- Direct Known Subclasses:
- CleanObservations, CovUtils, ExecuteSequence, GenInputsAbstract, Help, RmDiffObservations, UniversalDriverHandler
public abstract class CommandHandler
extends Object
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.
Constructor Summary
CommandHandler(String command,
String pitch,
String commandGrammar,
String where,
String summary,
List<String> notes,
String input,
String output,
String example,
Options options)
No arguments should be null. |
Method Summary
abstract boolean |
handle(String[] args)
|
boolean |
handles(String command)
|
void |
printHTML(PrintStream out)
Prints out formatted text in (google code) Wiki format. |
void |
usageMessage(PrintStream out,
boolean showUnpublicized)
|
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fcommand
public String fcommand
fpitch
public String fpitch
fcommandGrammar
public String fcommandGrammar
fwhere
public String fwhere
fsummary
public String fsummary
fnotes
public List<String> fnotes
finput
public String finput
foutput
public String foutput
fexample
public String fexample
foptions
public Options foptions
CommandHandler
public CommandHandler(String command,
String pitch,
String commandGrammar,
String where,
String summary,
List<String> notes,
String input,
String output,
String example,
Options options)
- No arguments should be null.
handles
public final boolean handles(String command)
handle
public abstract boolean handle(String[] args)
throws RandoopTextuiException
- Throws:
RandoopTextuiException
printHTML
public final void printHTML(PrintStream out)
- Prints out formatted text in (google code) Wiki format.
usageMessage
public final void usageMessage(PrintStream out,
boolean showUnpublicized)