FindBugs™ 1.3.9

edu.umd.cs.findbugs.plan
Class SingleDetectorFactorySelector

java.lang.Object
  extended by 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
SingleDetectorFactorySelector(Plugin plugin, java.lang.String className)
           
 
Method Summary
 boolean selectFactory(DetectorFactory factory)
          Is given DetectorFactory selected (as part of an ordering constraint)?
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleDetectorFactorySelector

public SingleDetectorFactorySelector(Plugin plugin,
                                     java.lang.String className)
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 interface DetectorFactorySelector
Parameters:
factory - a DetectorFactory
Returns:
true if the factory is selected, false otherwise

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.