Package edu.umd.cs.findbugs
Class PrintingBugReporter.PrintingCommandLine
- java.lang.Object
-
- edu.umd.cs.findbugs.config.CommandLine
-
- edu.umd.cs.findbugs.PrintingBugReporter.PrintingCommandLine
-
- Enclosing class:
- PrintingBugReporter
class PrintingBugReporter.PrintingCommandLine extends CommandLine
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.config.CommandLine
CommandLine.HelpRequestedException
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxRank
private Project
project
private boolean
setExitCode
private java.lang.String
stylesheet
private int
summarizeMaxRank
-
Constructor Summary
Constructors Constructor Description PrintingCommandLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Project
getProject()
protected void
handleOption(java.lang.String option, java.lang.String optionExtraPart)
Callback method for handling an option.protected void
handleOptionWithArgument(java.lang.String option, java.lang.String argument)
Callback method for handling an option with an argument.-
Methods inherited from class edu.umd.cs.findbugs.config.CommandLine
addOption, addSwitch, addSwitchWithOptionalExtraPart, expandOptionFiles, getAnalysisOptionProperties, makeOptionUnlisted, parse, parse, printUsage, startOptionGroup
-
-
-
-
Field Detail
-
stylesheet
private java.lang.String stylesheet
-
maxRank
private int maxRank
-
summarizeMaxRank
private int summarizeMaxRank
-
project
private final Project project
-
setExitCode
private boolean setExitCode
-
-
Method Detail
-
getProject
@Nonnull public Project getProject()
-
handleOption
protected void handleOption(java.lang.String option, java.lang.String optionExtraPart) throws java.io.IOException
Description copied from class:CommandLine
Callback method for handling an option.- Specified by:
handleOption
in classCommandLine
- Parameters:
option
- the optionoptionExtraPart
- the "extra" part of the option (everything after the colon: e.g., "withMessages" in "-xml:withMessages"); the empty string if there was no extra part- Throws:
java.io.IOException
-
handleOptionWithArgument
protected void handleOptionWithArgument(java.lang.String option, java.lang.String argument) throws java.io.IOException
Description copied from class:CommandLine
Callback method for handling an option with an argument.- Specified by:
handleOptionWithArgument
in classCommandLine
- Parameters:
option
- the optionargument
- the argument- Throws:
java.io.IOException
-
-