public class ReportManager extends CommandManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUGRPT_URL_PREF |
Constructor and Description |
---|
ReportManager() |
Modifier and Type | Method and Description |
---|---|
HelpTree.Node |
getHelp()
Get an object embodying the command line help for the commands managed
by this CommandManager.
|
boolean |
parseCommand(java.lang.String cmd,
java.util.ListIterator argIter,
CommandContext ctx)
Parse a command (and any arguments it might take).
|
static void |
writeReport(java.io.File reportDir,
CommandContext ctx) |
isMatch, isMatch, isPrefixMatch
public static final java.lang.String BUGRPT_URL_PREF
public HelpTree.Node getHelp()
CommandManager
getHelp
in class CommandManager
public boolean parseCommand(java.lang.String cmd, java.util.ListIterator argIter, CommandContext ctx) throws Command.Fault
CommandManager
parseCommand
in class CommandManager
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 commandCommand.Fault
- if the command is recognized by this command manager
but could not be successfully parsed or otherwise handled.public static void writeReport(java.io.File reportDir, CommandContext ctx) throws Command.Fault
Command.Fault
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.