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