FindBugs™ 1.3.9

edu.umd.cs.findbugs.plan
Class DetectorOrderingConstraint

java.lang.Object
  extended by edu.umd.cs.findbugs.plan.DetectorOrderingConstraint

public class DetectorOrderingConstraint
extends java.lang.Object

An ordering constraint which must be taken into account when Detectors are run.

Author:
David Hovemeyer
See Also:
Plugin, ExecutionPlan

Constructor Summary
DetectorOrderingConstraint(DetectorFactorySelector earlier, DetectorFactorySelector later)
           
 
Method Summary
 DetectorFactorySelector getEarlier()
           
 DetectorFactorySelector getLater()
           
 boolean isSingleSource()
          Determine whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source (ealier detector).
 void setSingleSource(boolean singleSource)
          Set whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source (ealier detector).
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetectorOrderingConstraint

public DetectorOrderingConstraint(DetectorFactorySelector earlier,
                                  DetectorFactorySelector later)
Method Detail

setSingleSource

public void setSingleSource(boolean singleSource)
Set whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source (ealier detector). Such constraints automatically enable the source (earlier) detector if the target (later) detector is enabled.


isSingleSource

public boolean isSingleSource()
Determine whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source (ealier detector). Such constraints automatically enable the source (earlier) detector if the target (later) detector is enabled.

Returns:
true if this edge has a single detector as its source (earlier detector)

getEarlier

public DetectorFactorySelector getEarlier()

getLater

public DetectorFactorySelector getLater()

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.