brahms.policy.enforcement.obligation
Class BrahmsPropertySpecializedPopulator
java.lang.Object
brahms.policy.enforcement.obligation.BrahmsPropertySpecializedPopulator
- All Implemented Interfaces:
- PropertySpecializedPopulator
public class BrahmsPropertySpecializedPopulator
- extends java.lang.Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TASK_COMPLETED
public static final java.lang.String TASK_COMPLETED
- See Also:
- Constant Field Values
BrahmsPropertySpecializedPopulator
public BrahmsPropertySpecializedPopulator()
populateProperty
public 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.
- Specified by:
populateProperty
in interface PropertySpecializedPopulator
- 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:
- A Set of values for the given property.
populateProperties
public 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.
- Specified by:
populateProperties
in interface PropertySpecializedPopulator
- 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:
- A Set of KAoSProperties that are associated with the policy Action specified in the control
BasicActionDescription.
printDebugString
protected void printDebugString(java.lang.String msg,
int loggerDisplayLevel)
- Print debug messages.