Package edu.umd.cs.findbugs.plan
Class SingleDetectorFactorySelector
- java.lang.Object
-
- edu.umd.cs.findbugs.plan.SingleDetectorFactorySelector
-
- All Implemented Interfaces:
DetectorFactorySelector
public class SingleDetectorFactorySelector extends java.lang.Object implements DetectorFactorySelector
Select a detector factory for a specific detector class.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description SingleDetectorFactorySelector(Plugin plugin, java.lang.String className)
-
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
-
SingleDetectorFactorySelector
public SingleDetectorFactorySelector(Plugin plugin, java.lang.String className)
-
-
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
-
-