public interface RuleUnit
Modifier and Type | Interface and Description |
---|---|
static class |
RuleUnit.Identity |
Modifier and Type | Method and Description |
---|---|
default RuleUnit.Identity |
getUnitIdentity()
Defines the identity of this RuleUnit.
|
default void |
onEnd()
Called when the evaluation of this unit terminates
|
default void |
onResume()
Called when the execution of unit is resumed (only for runUntilHalt)
|
default void |
onStart()
Called when the rule engine starts evaluating the unit
|
default void |
onSuspend()
Called when the execution of unit is suspended (only for runUntilHalt)
|
default void |
onYield(RuleUnit other)
Called when the consequence of rule in this rule unit triggers the execution of a different unit
|
default RuleUnit.Identity getUnitIdentity()
default void onStart()
default void onEnd()
default void onSuspend()
default void onResume()
default void onYield(RuleUnit other)
other
- The called unitCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.