Package edu.umd.cs.findbugs.plan
Class DetectorOrderingConstraint
java.lang.Object
edu.umd.cs.findbugs.plan.DetectorOrderingConstraint
An ordering constraint which must be taken into account when Detectors are
run.
- Author:
- David Hovemeyer
- See Also:
-
Constructor Summary
ConstructorDescriptionDetectorOrderingConstraint
(DetectorFactorySelector earlier, DetectorFactorySelector later) -
Method Summary
Modifier and TypeMethodDescriptiongetLater()
boolean
Determine whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source (earlier detector).void
setSingleSource
(boolean singleSource) Set whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source (earlier detector).toString()
-
Constructor Details
-
DetectorOrderingConstraint
-
-
Method Details
-
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 (earlier 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 (earlier 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
-
getLater
-
toString
-