kaos.policy.enforcement.obligation
Interface ControlActionInstantiator

All Known Implementing Classes:
ControlActionInstantiatorImpl

public interface ControlActionInstantiator

This interface defines a method to instantiate a control ActionInstanceDescription based on the given control ActionClassDescription and a trigger condition ActionInstanceDescription.


Method Summary
 ActionInstanceDescription instantiate(BasicActionDescription controlBAD, ActionInstanceDescription triggerAID)
          Based on the specified BasicActionDescription for the control action and trigger ActionInstanceDescription, instantiate an ActionInstanceDescription for the control action.
 ActionInstanceDescription instantiate(PolicyInformation controlPolicy, ActionInstanceDescription triggerAID)
          Based on the specified PolicyInformation and trigger ActionInstanceDescription, instantiate an ActionInstanceDescription for the control action.
 

Method Detail

instantiate

ActionInstanceDescription instantiate(BasicActionDescription controlBAD,
                                      ActionInstanceDescription triggerAID)
Based on the specified BasicActionDescription for the control action and trigger ActionInstanceDescription, instantiate an ActionInstanceDescription for the control action.

Parameters:
controlBAD - BasicActionDescription specifies the action class, whose ActionInstanceDescription will be created.
triggerAID - ActionInstanceDescription describes the trigger condition instance to be used in instantiation of the control ActionInstanceDescription.
Returns:
ActionInstanceDescription of the control action, whose BasicActionDescription was specified.

instantiate

ActionInstanceDescription instantiate(PolicyInformation controlPolicy,
                                      ActionInstanceDescription triggerAID)
Based on the specified PolicyInformation and trigger ActionInstanceDescription, instantiate an ActionInstanceDescription for the control action.

Parameters:
controlPolicy - PolicyInformation, whose trigger matches the specified trigger.
triggerAID - ActionInstanceDescription describes the trigger condition instance to be used in instantiation of the control ActionInstanceDescription.
Returns:
ActionInstanceDescription of the control action, whose BasicActionDescription was specified.