kaos.policy.enforcement.obligation
Interface TriggerConditionListener

All Known Subinterfaces:
Guard
All Known Implementing Classes:
BLIKExample, BLIKNotifyEnforcerExample, KaosEnforcerAgent, KAoSGridGuard, KAoSGuard, NotifyAgent, ObligationEnforcer, RobotEnforcer

public interface TriggerConditionListener

This interface defines methods called by Guard to update the action class description for the trigger condition to be monitored by the listener. This interface is implemented by an entity in the agent system, which will be monitoring the trigger condition when the updateTriggerCondition() method is invoked.


Method Summary
 void updateTriggerCondition(BasicActionDescription triggerBasicAD)
          This method is called by Guard upon receiving an obligation policy containing the specified triggerACD.
 

Method Detail

updateTriggerCondition

void updateTriggerCondition(BasicActionDescription triggerBasicAD)
This method is called by Guard upon receiving an obligation policy containing the specified triggerACD. The listener will now start monitoring agent actions in order to detect the occurrence of the trigger condition.

Parameters:
triggerBasicAD - BasicActionDescription describes the trigger condition the listener has registered for.