policyMgmt
Class RuleEntry

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

public class RuleEntry
extends java.lang.Object

A rule entry within a Policy. It consists of a Rule and a triggering Event.


Constructor Summary
RuleEntry(java.lang.Object trigger, Rule myrule)
          Construct a RuleEntry with a given triggering Object and Rule.
 
Method Summary
 Rule getRule()
          Get the entry's Rule.
 java.lang.Object getTrigger()
          Get the entry's triggering Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleEntry

public RuleEntry(java.lang.Object trigger,
                 Rule myrule)
Construct a RuleEntry with a given triggering Object and Rule.
Parameters:
trigger - the triggering object
myrule - the Rule
Method Detail

getTrigger

public java.lang.Object getTrigger()
Get the entry's triggering Object.
Returns:
the Object

getRule

public Rule getRule()
Get the entry's Rule.
Returns:
the Rule