Package de.obqo.decycle.check
Class SlicedConstraint
- java.lang.Object
-
- de.obqo.decycle.check.SlicedConstraint
-
- All Implemented Interfaces:
Constraint
- Direct Known Subclasses:
DirectLayeringConstraint,LayeringConstraint
public abstract class SlicedConstraint extends Object implements Constraint
ASlicedConstraintrepresents some dependency rules for the slices of aSlicing. Such constraint is defined by a list oflayers, each containing a set of slices (i.e. a set of slice node names). The actual dependencies in aSlicingmust match the dependencies defined by this constraint and its layers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.obqo.decycle.check.Constraint
Constraint.Violation
-
-
Constructor Summary
Constructors Constructor Description SlicedConstraint(SliceType sliceType, List<Layer> layers, String arrow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetShortString()StringtoString()List<Constraint.Violation>violations(SlicingSource slicingSource)
-
-
-
Method Detail
-
violations
public List<Constraint.Violation> violations(SlicingSource slicingSource)
- Specified by:
violationsin interfaceConstraint
-
getShortString
public String getShortString()
- Specified by:
getShortStringin interfaceConstraint
-
-