COM.TIBCO.hawk.config.rbengine.rulebase.policy
Class TrueCountThreshold

java.lang.Object
  extended by COM.TIBCO.hawk.config.rbengine.rulebase.policy.TrueCountThreshold
All Implemented Interfaces:
TrueConditionPolicy

public class TrueCountThreshold
extends java.lang.Object
implements 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
TrueCountThreshold(int trueCount)
          Constructs a TrueCountThreshold policy.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares two TrueCountThreshold objects for equality.
 int getTrueCountThreshold()
          Returns the true count threshold value of this policy
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrueCountThreshold

public TrueCountThreshold(int trueCount)
Constructs a TrueCountThreshold policy.

Parameters:
trueCount - the policy's true count threshold value
Throws:
java.lang.IllegalArgumentException - if trueCount is not greater than 0.
Method Detail

getTrueCountThreshold

public int getTrueCountThreshold()
Returns the true count threshold value of this policy


equals

public boolean equals(java.lang.Object o)
Compares two TrueCountThreshold objects for equality.

Overrides:
equals in class java.lang.Object


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.