java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.policy.ClearTimer
All Implemented Interfaces:
ClearConditionPolicy

public class ClearTimer extends Object implements 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 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

    • getTimerInterval

      public int getTimerInterval()
      Returns the timer interval
    • equals

      public boolean equals(Object obj)
      Compares two ClearTimer objects for equality.
      Overrides:
      equals in class Object