|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Feedback specification. Such a class retrieves messages about why rules were accepted or rejected which contain explanatory strings.
One instance of this class can be registered with a
RuleRegistry at one point in time.
RuleRegistry| Method Summary | |
void |
rulePassed(RuleRegistry ruleregistry,
Rule rule,
java.lang.String message)
This callback is invoked when a Rule was accepted. |
void |
ruleRejected(RuleRegistry ruleregistry,
Rule rule,
java.lang.String message)
This callback is invoked when a Rule is rejected. |
| Method Detail |
public void ruleRejected(RuleRegistry ruleregistry,
Rule rule,
java.lang.String message)
Rule is rejected.
ruleregistry - the RuleRegistry that verified the Rule.rule - the Rule that was checked and rejected.message - a message string explaining why the Rule
was rejected.
public void rulePassed(RuleRegistry ruleregistry,
Rule rule,
java.lang.String message)
Rule was accepted.
ruleregistry - the RuleRegistry that verified the Rule.rule - the Rule that was checked and passed.message - a message string explaining why the Rule
was rejected.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||