Package COM.TIBCO.hawk.config.rbengine.rulebase.policy
package COM.TIBCO.hawk.config.rbengine.rulebase.policy
Provides classes for creating and processing rulebase related policies.
Rulebase policies fall into two groups:
- Policies for Tests
- Policies for Actions
Policies for Tests
Policies for Tests are used in tests to determine when the tests transition to a true or false states. ATrueCountThreshold
policy is used determind when the threshold that
a test should transition to the true state after a certain number of true evaluations of its
test expression.
For policy to clear a test,
The
ClearOnFirstFalse,
ClearTest, or
ClearTimer
are used to clear a test when the transition to the false state
upon the first false evaluation of its test expression,
true evaluation of the clear test expression contained in the ClearTest policy object, or
expiration of a timer respectively.
Policies for Actions
Policies for Actions are used in actions to determine when the actions are execute. APerformOnceOnly
is used to indicate that an action should be executed
only once durring a true series while a
PerformAlways
to indicate that an
action should always be executed.
The policy PerformCountOnInterval
is used to execute an action for fixed number of times with a minimum pause between executions.
- Since:
- TIBCO Hawk 4.0.0
-
ClassDescriptionClearConditionPolicy objects are used in tests to determine when a test should transition to a false state.A ClearOnFirstFalse policy indicates that a test should transition to the false state upon the first false evaluation of its test expression.A ClearTest policy indicates that a test should transition to the false state upon the true evaluation of the clear test expression contained in the ClearTest policy object.A ClearTimer policy indicates that a test should transition to the false state upon the expiration of a timer.PerformActionPolicy objects are used in actions to determin when they actually execute.This policy is used to indicate that an action should always be executed.This policy is used to indicate that an action should be executed a fixed number of times with a minimum pause between executions.This policy is used to indicate that an action should be executed only once durring a true series.TrueConditionPolicy objects are used in tests to determine when they transition to a true state.A TrueCountThreshold policy indicates that a test should transition to the true state after a certain number of true evaluations of its test expression, the true count threshold.