Package edu.umd.cs.findbugs
Interface DetectorFactoryChooser
-
public interface DetectorFactoryChooserPredicate for choosing DetectorFactory objects.- Author:
- David Hovemeyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanchoose(DetectorFactory factory)Return whether or not given DetectorFactory should be chosen.voidenable(DetectorFactory factory)Enable the factory due to ordering constraints with other enabled detectors
-
-
-
Method Detail
-
choose
boolean choose(DetectorFactory factory)
Return whether or not given DetectorFactory should be chosen.- Parameters:
factory- the DetectorFactory- Returns:
- true if the DetectorFactory should be chosen, false if not
-
enable
void enable(DetectorFactory factory)
Enable the factory due to ordering constraints with other enabled detectors- Parameters:
factory-
-
-