edu.umd.cs.findbugs
Class FindBugsCommandLine
java.lang.Object
edu.umd.cs.findbugs.config.CommandLine
edu.umd.cs.findbugs.FindBugsCommandLine
- Direct Known Subclasses:
- TextUICommandLine
public abstract class FindBugsCommandLine
- extends CommandLine
Base class for FindBugs command line classes.
Handles all shared switches/options.
- Author:
- David Hovemeyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
settingList
protected AnalysisFeatureSetting[] settingList
- Analysis settings to configure the analysis effort.
project
protected Project project
- Project to analyze.
FindBugsCommandLine
public FindBugsCommandLine()
- Constructor.
Adds shared options/switches.
getSettingList
public AnalysisFeatureSetting[] getSettingList()
getProject
public Project getProject()
handleOption
protected void handleOption(java.lang.String option,
java.lang.String optionExtraPart)
- Description copied from class:
CommandLine
- Callback method for handling an option.
- Specified by:
handleOption
in class CommandLine
- 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.IOException
- Description copied from class:
CommandLine
- Callback method for handling an option with an argument.
- Specified by:
handleOptionWithArgument
in class CommandLine
- Parameters:
option
- the optionargument
- the argument
- Throws:
java.io.IOException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.