edu.umd.cs.findbugs.plan
Class DetectorNode

java.lang.Object
  extended by edu.umd.cs.findbugs.graph.AbstractVertex<ConstraintEdge,DetectorNode>
      extended by edu.umd.cs.findbugs.plan.DetectorNode
All Implemented Interfaces:
GraphVertex<DetectorNode>, java.lang.Comparable<DetectorNode>

public class DetectorNode
extends AbstractVertex<ConstraintEdge,DetectorNode>

Node in a ConstraintGraph. It represents a single Detector which must be ordered before or after some other Detector(s).

Author:
David Hovemeyer
See Also:
ConstraintGraph, ConstraintEdge, ExecutionPlan

Field Summary
private  DetectorFactory factory
           
 
Constructor Summary
DetectorNode(DetectorFactory factory)
          Constructor.
 
Method Summary
 DetectorFactory getFactory()
          Get the DetectorFactory.
 
Methods inherited from class edu.umd.cs.findbugs.graph.AbstractVertex
compareTo, getLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private DetectorFactory factory
Constructor Detail

DetectorNode

public DetectorNode(DetectorFactory factory)
Constructor.

Parameters:
factory - the DetectorFactory for the Detector this node represents
Method Detail

getFactory

public DetectorFactory getFactory()
Get the DetectorFactory.