|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.config.CommandLine
edu.umd.cs.findbugs.FindBugsCommandLine
public abstract class FindBugsCommandLine
Base class for FindBugs command line classes. Handles all shared switches/options.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.umd.cs.findbugs.config.CommandLine |
|---|
CommandLine.HelpRequestedException |
| Field Summary | |
|---|---|
protected Project |
project
Project to analyze. |
protected boolean |
projectLoadedFromFile
True if project was initialized by loading a project file. |
protected AnalysisFeatureSetting[] |
settingList
Analysis settings to configure the analysis effort. |
| Constructor Summary | |
|---|---|
FindBugsCommandLine()
Constructor. |
|
FindBugsCommandLine(boolean modernGui)
Additional constuctor just as hack for decoupling the core package from gui2 package |
|
| Method Summary | |
|---|---|
Project |
getProject()
|
AnalysisFeatureSetting[] |
getSettingList()
|
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. |
boolean |
isProjectLoadedFromFile()
|
void |
loadProject(java.lang.String arg)
Load given project file. |
| Methods inherited from class edu.umd.cs.findbugs.config.CommandLine |
|---|
addOption, addSwitch, addSwitchWithOptionalExtraPart, expandOptionFiles, getAnalysisOptionProperties, makeOptionUnlisted, parse, parse, printUsage, startOptionGroup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AnalysisFeatureSetting[] settingList
protected Project project
protected boolean projectLoadedFromFile
| Constructor Detail |
|---|
public FindBugsCommandLine()
public FindBugsCommandLine(boolean modernGui)
modernGui - ignored. In any case, gui2 options are added here.| Method Detail |
|---|
public AnalysisFeatureSetting[] getSettingList()
@Nonnull public Project getProject()
public boolean isProjectLoadedFromFile()
protected void handleOption(java.lang.String option,
java.lang.String optionExtraPart)
CommandLine
handleOption in class CommandLineoption - 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
protected void handleOptionWithArgument(java.lang.String option,
java.lang.String argument)
throws java.io.IOException
CommandLine
handleOptionWithArgument in class CommandLineoption - the optionargument - the argument
java.io.IOException
public void loadProject(java.lang.String arg)
throws java.io.IOException
arg - name of project file
java.io.IOException
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||