public class NoRightRepeatedLabels extends NoRepeatedLabels
Constructor and Description |
---|
NoRightRepeatedLabels()
Creates a new NoRightRepeatedLabels instance, which checks only the restrictions defined on itself.
|
NoRightRepeatedLabels(CheckRule cr)
Creates a new NoRightRepeatedLabels instance, which wraps cr as stated
by Decorator pattern.
|
checkRule, getCauses, getCausesString, initCauses, initializedCauses
public NoRightRepeatedLabels()
public NoRightRepeatedLabels(CheckRule cr)
cr
- the CheckRule instance to be wrapped