Class TrueCountThreshold
java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.policy.TrueCountThreshold
- All Implemented Interfaces:
TrueConditionPolicy
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares two TrueCountThreshold objects for equality.intReturns the true count threshold value of this policy
-
Constructor Details
-
TrueCountThreshold
public TrueCountThreshold(int trueCount) Constructs a TrueCountThreshold policy.- Parameters:
trueCount- the policy's true count threshold value- Throws:
IllegalArgumentException- if trueCount is not greater than 0.
-
-
Method Details