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