|
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.DetectorFactoryCollection
public class DetectorFactoryCollection
The DetectorFactoryCollection stores all of the DetectorFactory objects used to create the Detectors which implement the various analyses. It is a singleton class.
DetectorFactory
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 id
public java.util.Iterator<DetectorFactory> factoryIterator()
public DetectorFactory getFactory(java.lang.String name)
name
- the short name
public DetectorFactory getFactoryByClassName(java.lang.String className)
className
- the class name
public static java.lang.String getFindBugsHome()
public void ensureLoaded()
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |