edu.umd.cs.findbugs
Class DetectorOrderingConstraint

java.lang.Object
  extended by 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

Field Summary
private  java.lang.String earlierDetector
           
private  java.lang.String laterDetector
           
 
Constructor Summary
DetectorOrderingConstraint(java.lang.String earlierDetector, java.lang.String laterDetector)
          Constructor.
 
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
 

Field Detail

earlierDetector

private java.lang.String earlierDetector

laterDetector

private java.lang.String laterDetector
Constructor Detail

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 earlier
laterDetector - Detector that must be run later
Method Detail

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