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.
- Author:
- David Hovemeyer
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.config.CommandLine
CommandLine.HelpRequestedException
-
Field Summary
Fields inherited from class edu.umd.cs.findbugs.FindBugsCommandLine
project, projectLoadedFromFile, settingList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
float
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
setDocking
(boolean docking) 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
-
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() -
getDocking
public boolean getDocking() -
setDocking
public void setDocking(boolean docking) -
getPriority
public int getPriority() -
getSaveFile
-
setSaveFile
-