kaos.policy.enforcement.obligation
Interface PropertySpecializedPopulator

All Known Implementing Classes:
BrahmsPropertySpecializedPopulator

public interface PropertySpecializedPopulator

This interface defines methods to populate values for a given property based on the control ActionClassDescription, trigger ActionInstanceDescription, and additionally, system contextual knowledge of the action.


Method Summary
 java.util.Set populateProperties(BasicActionDescription controlBasicAD, ActionInstanceDescription triggerAID)
          For the given BasicActionDescription of the obligation policy control action and the trigger ActionInstanceDescription, create a Set of KAoSProperties for the control policy Action.
 java.util.Set populateProperty(java.lang.String propertyName, BasicActionDescription controlBasicAD, ActionInstanceDescription triggerAID)
          For the given property name, return property values, based on the specified ActionClassDescription for the control action and trigger ActionInstanceDescription.
 

Method Detail

populateProperty

java.util.Set populateProperty(java.lang.String propertyName,
                               BasicActionDescription controlBasicAD,
                               ActionInstanceDescription triggerAID)
For the given property name, return property values, based on the specified ActionClassDescription for the control action and trigger ActionInstanceDescription.

Parameters:
propertyName - String containing the name of the property.
controlACD - ActionClassDescription specifies the action class, whose instance will be created and whose property is being populated.
triggerAID - ActionInstanceDescription describes the trigger condition instance to be used in instantiation of the control ActionInstanceDescription.
Returns:
ActionInstanceDescription of the control action, whose ActionClassDescription was specified.

populateProperties

java.util.Set populateProperties(BasicActionDescription controlBasicAD,
                                 ActionInstanceDescription triggerAID)
For the given BasicActionDescription of the obligation policy control action and the trigger ActionInstanceDescription, create a Set of KAoSProperties for the control policy Action.

Parameters:
controlBasicAD - BasicActionDescription specifies the name of the policy action class. It may also contain some properties and their values.
triggerAID - ActionInstanceDescription describes the trigger condition instance to be used in instantiation of the control ActionInstanceDescription.
Returns:
ActionInstanceDescription of the control policy action, whose BasicActionDescription was specified.