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
-
public class GUI2CommandLine extends FindBugsCommandLine
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 Constructor Description GUI2CommandLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetDocking()floatgetFontSize()intgetPriority()java.io.FilegetSaveFile()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.booleanisFontSizeSpecified()voidsetDocking(boolean docking)voidsetSaveFile(java.io.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
-
-
-
-
Method Detail
-
handleOption
protected void handleOption(java.lang.String option, java.lang.String optionExtraPart)Description copied from class:CommandLineCallback method for handling an option.- Overrides:
handleOptionin 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
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.- Overrides:
handleOptionWithArgumentin classFindBugsCommandLine- Parameters:
option- the optionargument- the argument- Throws:
java.io.IOException
-
getFontSize
public float getFontSize()
-
isFontSizeSpecified
public boolean isFontSizeSpecified()
-
getDocking
public boolean getDocking()
-
setDocking
public void setDocking(boolean docking)
-
getPriority
public int getPriority()
-
getSaveFile
public java.io.File getSaveFile()
-
setSaveFile
public void setSaveFile(java.io.File saveFile)
-
-