Package edu.umd.cs.findbugs.gui2
Class GUI2CommandLine
java.lang.Object
edu.umd.cs.findbugs.config.CommandLine
edu.umd.cs.findbugs.FindBugsCommandLine
edu.umd.cs.findbugs.gui2.GUI2CommandLine
Command line switches/options for GUI2.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.config.CommandLine
CommandLine.HelpRequestedException
-
Field Summary
FieldsFields inherited from class edu.umd.cs.findbugs.FindBugsCommandLine
project, projectLoadedFromFile, settingList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
int
protected void
handleOption
(String option, String optionExtraPart) Callback method for handling an option.protected void
handleOptionWithArgument
(String option, String argument) Callback method for handling an option with an argument.boolean
void
setSaveFile
(File saveFile) Methods inherited from class edu.umd.cs.findbugs.FindBugsCommandLine
getProject, getSettingList, isProjectLoadedFromFile, loadProject
Methods inherited from class edu.umd.cs.findbugs.config.CommandLine
addOption, addSwitch, addSwitchWithOptionalExtraPart, expandOptionFiles, getAnalysisOptionProperties, makeOptionUnlisted, parse, parse, printUsage, startOptionGroup
-
Field Details
-
fontSize
private float fontSize -
fontSizeSpecified
private boolean fontSizeSpecified -
priority
private int priority -
saveFile
-
-
Constructor Details
-
GUI2CommandLine
public GUI2CommandLine()
-
-
Method Details
-
handleOption
Description copied from class:CommandLine
Callback method for handling an option.- Overrides:
handleOption
in classFindBugsCommandLine
- 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
-
handleOptionWithArgument
Description copied from class:CommandLine
Callback method for handling an option with an argument.- Overrides:
handleOptionWithArgument
in classFindBugsCommandLine
- Parameters:
option
- the optionargument
- the argument- Throws:
IOException
-
getFontSize
public float getFontSize() -
isFontSizeSpecified
public boolean isFontSizeSpecified() -
getPriority
public int getPriority() -
getSaveFile
-
setSaveFile
-