kaos.core.util
Class ConditionalPolicyMsg
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalPolicyMsg
public ConditionalPolicyMsg(java.lang.Object condition,
java.util.Vector policies)
- Constructor
- Parameters:
condition
- Object representing the condition statement
to evaluatepolicies
- Vector of kaos.core.util.PolicyMsg objects which
represent the policies to put in place if
the condition statement is true
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)