kaos.core.util
Class ConditionalPolicyMsg

java.lang.Object
  extended by kaos.core.util.ConditionalPolicyMsg
All Implemented Interfaces:
java.io.Serializable

public class ConditionalPolicyMsg
extends java.lang.Object
implements java.io.Serializable

A ConditionalPolicyMsg contains a set of conditions, and a set of policies which apply when the conditions are true. $Revision: 1.2 $

See Also:
Serialized Form

Constructor Summary
ConditionalPolicyMsg(java.lang.Object condition, java.util.Vector policies)
          Constructor
 
Method Summary
 java.lang.Object getCondition()
           
 java.util.Vector getPolicies()
           
 void setCondition(java.lang.Object condition)
           
 void setPolicies(java.util.Vector policies)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalPolicyMsg

public ConditionalPolicyMsg(java.lang.Object condition,
                            java.util.Vector policies)
Constructor

Parameters:
condition - Object representing the condition statement to evaluate
policies - Vector of kaos.core.util.PolicyMsg objects which represent the policies to put in place if the condition statement is true
Method Detail

getCondition

public java.lang.Object getCondition()
Returns:
an object representing the condition statement to evaluate

setCondition

public void setCondition(java.lang.Object condition)

getPolicies

public java.util.Vector getPolicies()
Returns:
a vector of kaos.core.util.PolicyMsg objects which represent the policies to put in place if the triggerConditions are true

setPolicies

public void setPolicies(java.util.Vector policies)