Class ClearTimer
java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.policy.ClearTimer
- All Implemented Interfaces:
ClearConditionPolicy
A ClearTimer policy indicates that a test should transition
to the false state upon the expiration of a timer. The timer
is reset each time the test's test expression evaluates to true.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares two ClearTimer objects for equality.intReturns the timer interval
-
Constructor Details
-
ClearTimer
public ClearTimer(int interval) Constructs a ClearTimer policy- Parameters:
interval- timer interval in second- Throws:
IllegalArgumentException- if interval is not greater than 0
-
-
Method Details