edu.umd.cs.findbugs
public class DetectorFactoryCollection extends Object
See Also: DetectorFactory
Method Summary | |
---|---|
void | ensureLoaded() |
Iterator<DetectorFactory> | factoryIterator()
Return an Iterator over the DetectorFactory objects for all
registered Detectors. |
DetectorFactory | getFactory(String name)
Look up a DetectorFactory by its short name.
|
DetectorFactory | getFactoryByClassName(String className)
Look up a DetectorFactory by its class name.
|
Plugin | getPluginById(String pluginId)
Get a Plugin by its unique id.
|
static DetectorFactoryCollection | instance()
Get the single instance of DetectorFactoryCollection. |
Iterator<Plugin> | pluginIterator()
Return an Iterator over all available Plugin objects. |
static DetectorFactoryCollection | rawInstance()
Get the single instance of DetectorFactoryCollection. |
void | setPluginList(URL[] pluginList)
Set the list of plugins to load explicitly.
|
Parameters: name the short name
Returns: the DetectorFactory, or null if there is no factory with that short name
Parameters: className the class name
Returns: the DetectoryFactory, or null if there is no factory with that class name
Parameters: pluginId the unique id
Returns: the Plugin with that id, or null if no such Plugin is found
Parameters: pluginList list of plugin Jar files to load