|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinpro.dm.isu.rule.AbstractRule
public abstract class AbstractRule
An abstract rule with previsions for trigger and effect interfaces
| Nested Class Summary | |
|---|---|
static interface |
AbstractRule.Effects
A list of update methods that an implementing information state must provide to allow update rules to apply changes to it. |
static interface |
AbstractRule.Triggers
A list of query methods that an implementing information state must provide to allow update rules to query it. |
| Constructor Summary | |
|---|---|
AbstractRule()
|
|
| Method Summary | |
|---|---|
abstract boolean |
apply(AbstractInformationState is)
A method that a rule engine calls to apply this rule's effect to. |
java.lang.String |
toString()
|
abstract boolean |
triggers(AbstractInformationState is)
A method that a rule engine calls to verify if this rule triggers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRule()
| Method Detail |
|---|
public abstract boolean triggers(AbstractInformationState is)
is - the InformationState to check this rule's trigger
conditions against.
public abstract boolean apply(AbstractInformationState is)
is - the InformationState to apply this rule's effects on.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||