public class TextUICommandLine extends FindBugsCommandLine
CommandLine.HelpRequestedException
project, projectLoadedFromFile, settingList
Constructor and Description |
---|
TextUICommandLine()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
applySuppression() |
void |
configureEngine(IFindBugsEngine findBugs) |
Project |
getProject() |
boolean |
getXargs() |
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.
|
void |
handleXArgs()
Handle -xargs command line option by reading
jar file names from standard input and adding them
to the project.
|
boolean |
noClassOk() |
boolean |
quiet() |
boolean |
setExitCode() |
getSettingList, isProjectLoadedFromFile, loadProject
addOption, addSwitch, addSwitchWithOptionalExtraPart, expandOptionFiles, getAnalysisOptionProperties, makeOptionUnlisted, parse, parse, printUsage, startOptionGroup
public Project getProject()
getProject
in class FindBugsCommandLine
public boolean getXargs()
public boolean setExitCode()
public boolean noClassOk()
public boolean quiet()
public boolean applySuppression()
protected void handleOption(java.lang.String option, java.lang.String optionExtraPart)
CommandLine
handleOption
in class FindBugsCommandLine
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 partprotected void handleOptionWithArgument(java.lang.String option, java.lang.String argument) throws java.io.IOException
CommandLine
handleOptionWithArgument
in class FindBugsCommandLine
option
- the optionargument
- the argumentjava.io.IOException
public void configureEngine(IFindBugsEngine findBugs) throws java.io.IOException, FilterException
java.io.IOException
FilterException
public void handleXArgs() throws java.io.IOException
java.io.IOException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.