edu.umd.cs.findbugs
Class DetectorOrderingConstraint
java.lang.Object
edu.umd.cs.findbugs.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
Method Summary |
java.lang.String |
getEarlierDetector()
Get the Detector in the pair of Detectors involved
in the ordering constraint that must be run earlier. |
java.lang.String |
getLaterDetector()
Get the Detector in the pair of Detectors involved
in the ordering constraint that must be run later. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
earlierDetector
private java.lang.String earlierDetector
laterDetector
private java.lang.String laterDetector
DetectorOrderingConstraint
public DetectorOrderingConstraint(java.lang.String earlierDetector,
java.lang.String laterDetector)
- Constructor.
Defines a pair of Detectors with an ordering constraint.
- Parameters:
earlierDetector
- Detector that must be run earlierlaterDetector
- Detector that must be run later
getEarlierDetector
public java.lang.String getEarlierDetector()
- Get the Detector in the pair of Detectors involved
in the ordering constraint that must be run earlier.
- Returns:
- the earlier Detector
getLaterDetector
public java.lang.String getLaterDetector()
- Get the Detector in the pair of Detectors involved
in the ordering constraint that must be run later.
- Returns:
- the later Detector