Package edu.umd.cs.findbugs.plan
Class ReportingDetectorFactorySelector
- java.lang.Object
-
- edu.umd.cs.findbugs.plan.ReportingDetectorFactorySelector
-
- All Implemented Interfaces:
DetectorFactorySelector
public class ReportingDetectorFactorySelector extends java.lang.Object implements DetectorFactorySelector
Select all detector factories for reporting detectors.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description ReportingDetectorFactorySelector(Plugin plugin)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
selectFactory(DetectorFactory factory)
Is given DetectorFactory selected (as part of an ordering constraint)?java.lang.String
toString()
-
-
-
Constructor Detail
-
ReportingDetectorFactorySelector
public ReportingDetectorFactorySelector(Plugin plugin)
Constructor.- Parameters:
plugin
- Plugin containing detector factories to be selected; if null, factories from any Plugin may be selected
-
-
Method Detail
-
selectFactory
public boolean selectFactory(DetectorFactory factory)
Description copied from interface:DetectorFactorySelector
Is given DetectorFactory selected (as part of an ordering constraint)?- Specified by:
selectFactory
in interfaceDetectorFactorySelector
- Parameters:
factory
- a DetectorFactory- Returns:
- true if the factory is selected, false otherwise
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-