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 Details

  • Constructor Details

    • ReportManager

      public ReportManager()
  • Method Details

    • writeReport

      public static void writeReport(File reportDir, CommandContext ctx) throws Command.Fault
      Throws:
      Command.Fault
    • getHelp

      public HelpTree.Node getHelp()
      Description copied from class: CommandManager
      Get an object embodying the command line help for the commands managed by this CommandManager.
      Specified by:
      getHelp in class CommandManager
      Returns:
      an object embodying the command line help for the commands managed by this CommandManager
    • parseCommand

      public boolean parseCommand(String cmd, ListIterator<String> argIter, CommandContext ctx) throws Command.Fault
      Description copied from class: CommandManager
      Parse a command (and any arguments it might take).
      Specified by:
      parseCommand in class CommandManager
      Parameters:
      cmd - the command to be parsed
      argIter - an iterator from which to get any arguments that might be required by the option
      ctx - 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.