Package com.sun.javatest.report
Class ReportManager
- java.lang.Object
-
- com.sun.javatest.tool.CommandManager
-
- com.sun.javatest.report.ReportManager
-
public class ReportManager extends CommandManager
A command manager to provide commands for reporting test results.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUGRPT_URL_PREF
-
Constructor Summary
Constructors Constructor Description ReportManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HelpTree.NodegetHelp()Get an object embodying the command line help for the commands managed by this CommandManager.booleanparseCommand(java.lang.String cmd, java.util.ListIterator<java.lang.String> argIter, CommandContext ctx)Parse a command (and any arguments it might take).static voidwriteReport(java.io.File reportDir, CommandContext ctx)-
Methods inherited from class com.sun.javatest.tool.CommandManager
isMatch, isMatch, isPrefixMatch
-
-
-
-
Field Detail
-
BUGRPT_URL_PREF
public static final java.lang.String BUGRPT_URL_PREF
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeReport
public static void writeReport(java.io.File reportDir, CommandContext ctx) throws Command.Fault- Throws:
Command.Fault
-
getHelp
public HelpTree.Node getHelp()
Description copied from class:CommandManagerGet an object embodying the command line help for the commands managed by this CommandManager.- Specified by:
getHelpin classCommandManager- Returns:
- an object embodying the command line help for the commands managed by this CommandManager
-
parseCommand
public boolean parseCommand(java.lang.String cmd, java.util.ListIterator<java.lang.String> argIter, CommandContext ctx) throws Command.FaultDescription copied from class:CommandManagerParse a command (and any arguments it might take).- Specified by:
parseCommandin classCommandManager- Parameters:
cmd- the command to be parsedargIter- an iterator from which to get any arguments that might be required by the optionctx- a context object to use while parsing the command- Returns:
- true if the command is recognized and successfully parsed, or false if the command is not recognized by this command manager
- Throws:
Command.Fault- if the command is recognized by this command manager but could not be successfully parsed or otherwise handled.
-
-