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 booleanselectFactory(DetectorFactory factory)Is given DetectorFactory selected (as part of an ordering constraint)?java.lang.StringtoString()
-
-
-
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:DetectorFactorySelectorIs given DetectorFactory selected (as part of an ordering constraint)?- Specified by:
selectFactoryin interfaceDetectorFactorySelector- Parameters:
factory- a DetectorFactory- Returns:
- true if the factory is selected, false otherwise
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-