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 intmaxRankprivate Projectprojectprivate booleansetExitCodeprivate java.lang.Stringstylesheetprivate intsummarizeMaxRank
-
Constructor Summary
Constructors Constructor Description PrintingCommandLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ProjectgetProject()protected voidhandleOption(java.lang.String option, java.lang.String optionExtraPart)Callback method for handling an option.protected voidhandleOptionWithArgument(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
public @NonNull Project getProject()
-
handleOption
protected void handleOption(java.lang.String option, java.lang.String optionExtraPart) throws java.io.IOExceptionDescription copied from class:CommandLineCallback method for handling an option.- Specified by:
handleOptionin 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.IOExceptionDescription copied from class:CommandLineCallback method for handling an option with an argument.- Specified by:
handleOptionWithArgumentin classCommandLine- Parameters:
option- the optionargument- the argument- Throws:
java.io.IOException
-
-