policyMgmt
Class AlwaysCondition

java.lang.Object
  |
  +--policyMgmt.AlwaysCondition

public class AlwaysCondition
extends java.lang.Object
implements Condition

Simple Condition that is always true.


Constructor Summary
AlwaysCondition()
           
 
Method Summary
 boolean evaluate(Event evt, java.util.Hashtable ht)
          This Condition evaluates always to true.
 java.util.Hashtable getFreeIdents()
          This Condition always has an empty hashtable of elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysCondition

public AlwaysCondition()
Method Detail

evaluate

public boolean evaluate(Event evt,
                        java.util.Hashtable ht)
This Condition evaluates always to true. Parameters are ignored.
Specified by:
evaluate in interface Condition
Parameters:
evt - event that triggered the rule (ignored)
ht - hashtable of elements (ignored)

getFreeIdents

public java.util.Hashtable getFreeIdents()
This Condition always has an empty hashtable of elements.
Specified by:
getFreeIdents in interface Condition
Returns:
hashtable of elements.