kaos.core.csi.policy
Interface PolicyListener


public interface PolicyListener

This interface defines a method to receive an atomic policy update. $Revision: 1.3 $


Method Summary
 void setPolicies(java.util.List<kaos.core.util.PolicyMsg> policies)
          Replace the current policy set with the given set
 void updateInForceValue(java.lang.String policyId, java.lang.Boolean inForce)
           
 void updatePolicies(java.util.List<kaos.core.util.PolicyMsg> addedPolicies, java.util.List<kaos.core.util.PolicyMsg> changedPolicies, java.util.List<kaos.core.util.PolicyMsg> removedPolicies)
          Receive policy updates and apply them accordingly.
 

Method Detail

updatePolicies

void updatePolicies(java.util.List<kaos.core.util.PolicyMsg> addedPolicies,
                    java.util.List<kaos.core.util.PolicyMsg> changedPolicies,
                    java.util.List<kaos.core.util.PolicyMsg> removedPolicies)
Receive policy updates and apply them accordingly.

Parameters:
addedPolicies - The List of policies to be added to the collection of stored policies.
changedPolicies - The List of policies to be changed in the collection of stored policies.
removedPolicies - The List of policies to be removed from the collection of stored policies.

setPolicies

void setPolicies(java.util.List<kaos.core.util.PolicyMsg> policies)
Replace the current policy set with the given set


updateInForceValue

void updateInForceValue(java.lang.String policyId,
                        java.lang.Boolean inForce)


Copyright © 2006 IHMC All Rights Reserved.