public class DetectorFactoryCollection
extends java.lang.Object
DetectorFactory
Modifier and Type | Method and Description |
---|---|
void |
ensureLoaded() |
java.util.Iterator<DetectorFactory> |
factoryIterator()
Return an Iterator over the DetectorFactory objects for all
registered Detectors.
|
DetectorFactory |
getFactory(java.lang.String name)
Look up a DetectorFactory by its short name.
|
DetectorFactory |
getFactoryByClassName(java.lang.String className)
Look up a DetectorFactory by its class name.
|
static java.lang.String |
getFindBugsHome() |
Plugin |
getPluginById(java.lang.String pluginId)
Get a Plugin by its unique id.
|
static DetectorFactoryCollection |
instance()
Get the single instance of DetectorFactoryCollection.
|
java.util.Iterator<Plugin> |
pluginIterator()
Return an Iterator over all available Plugin objects.
|
java.lang.Iterable<Plugin> |
plugins()
Return an Iterable of all available Plugin objects.
|
static DetectorFactoryCollection |
rawInstance()
Get the single instance of DetectorFactoryCollection.
|
void |
setPluginList(java.net.URL[] pluginList)
Set the list of plugins to load explicitly.
|
public void setPluginList(java.net.URL[] pluginList)
pluginList
- list of plugin Jar files to loadpublic static DetectorFactoryCollection instance()
public static DetectorFactoryCollection rawInstance()
public java.util.Iterator<Plugin> pluginIterator()
public java.lang.Iterable<Plugin> plugins()
public Plugin getPluginById(java.lang.String pluginId)
pluginId
- the unique idpublic java.util.Iterator<DetectorFactory> factoryIterator()
public DetectorFactory getFactory(java.lang.String name)
name
- the short namepublic DetectorFactory getFactoryByClassName(java.lang.String className)
className
- the class namepublic static java.lang.String getFindBugsHome()
public void ensureLoaded()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.