public class TextUICommandLine extends FindBugsCommandLine
CommandLine.HelpRequestedException| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
outputFile |
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 |
justPrintConfiguration() |
boolean |
justPrintVersion() |
boolean |
noClassOk() |
boolean |
quiet() |
boolean |
setExitCode() |
getSettingList, isProjectLoadedFromFile, loadProjectaddOption, addSwitch, addSwitchWithOptionalExtraPart, expandOptionFiles, getAnalysisOptionProperties, makeOptionUnlisted, parse, parse, printUsage, startOptionGroup@Nonnull public Project getProject()
getProject in class FindBugsCommandLinepublic boolean getXargs()
public boolean setExitCode()
public boolean noClassOk()
public boolean quiet()
public boolean applySuppression()
public boolean justPrintConfiguration()
public boolean justPrintVersion()
protected void handleOption(java.lang.String option,
java.lang.String optionExtraPart)
CommandLinehandleOption in class FindBugsCommandLineoption - 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
CommandLinehandleOptionWithArgument in class FindBugsCommandLineoption - the optionargument - the argumentjava.io.IOExceptionpublic void configureEngine(IFindBugsEngine findBugs) throws java.io.IOException, FilterException
java.io.IOExceptionFilterExceptionpublic void handleXArgs()
throws java.io.IOException
java.io.IOExceptionFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.