public class ConstraintEdge extends AbstractEdge<ConstraintEdge,DetectorNode>
ConstraintGraph
,
DetectorNode
,
ExecutionPlan
Constructor and Description |
---|
ConstraintEdge(DetectorNode source,
DetectorNode target)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSingleSource()
Determine whether or not this ConstraintEdge resulted from an ordering
constraint having a single detector as its source (ealier detector).
|
void |
setConstraint(DetectorOrderingConstraint constraint)
Set the DetectorOrderingConstraint that created this edge.
|
public ConstraintEdge(DetectorNode source, DetectorNode target)
source
- the source vertex (earlier Detector)target
- the target vertex (later Detector)public void setConstraint(DetectorOrderingConstraint constraint)
constraint
- the DetectorOrderingConstraint that created this edgepublic boolean isSingleSource()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.