public abstract class DecoratorCheck<T>
extends java.lang.Object
Constructor and Description |
---|
DecoratorCheck()
Creates a new DecoratorCheckRule instance, which checks only the restrictions defined on itself.
|
DecoratorCheck(Check<T> cr)
Creates a new DecoratorCheckRule instance, which wraps cr as stated
by Decorator pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(T r) |
java.util.List<java.lang.String> |
getCauses() |
java.lang.String |
getCausesString()
Gets a string reporting the causes of the simulator messages
|
void |
initCauses()
Initializes the simulator message causes
|
boolean |
initializedCauses() |
public DecoratorCheck()
public boolean initializedCauses()
public boolean check(T r)
org.gcn.plinguacore.util.psystem.rule.checkRule.CheckRule#checkRule(org.gcn.plinguacore.util.psystem.rule.Rule)
public void initCauses()
public java.lang.String getCausesString()
public java.util.List<java.lang.String> getCauses()
CheckRule.getCauses()