kaos.policy.obligation.actionInstantiator
Class ObligedActionInstantiatorImpl
java.lang.Object
kaos.policy.obligation.actionInstantiator.ObligedActionInstantiatorImpl
- All Implemented Interfaces:
- ObligedActionInstantiator
public final class ObligedActionInstantiatorImpl
- extends java.lang.Object
- implements ObligedActionInstantiator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE_NOT_PRESENT
public static final java.lang.String INSTANCE_NOT_PRESENT
- See Also:
- Constant Field Values
ObligedActionInstantiatorImpl
public ObligedActionInstantiatorImpl()
instantiate
public ObligationActionDescription instantiate(ActionInfo controlAI,
ActionInstanceDescription triggerAID)
- Description copied from interface:
ObligedActionInstantiator
- Based on the specified ActionInfo for the control action and trigger ActionInstanceDescription, instantiate an ActionInstanceDescription for the control action.
- Specified by:
instantiate
in interface ObligedActionInstantiator
- Parameters:
controlAI
- 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
public ObligationActionDescription instantiate(PolicyInformation controlPolicy,
ActionInstanceDescription triggerAID)
- Description copied from interface:
ObligedActionInstantiator
- Based on the specified PolicyInformation and trigger ActionInstanceDescription, instantiate an ActionInstanceDescription for the control action.
- Specified by:
instantiate
in interface ObligedActionInstantiator
- 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.
addRoleValueMapPropertiesToActionInfo
public void addRoleValueMapPropertiesToActionInfo(KAoSRoleValueMapContainer policyRVMContainer,
java.lang.String rvmId,
ActionInfo destinationActionInfo,
ActionInstanceDescription sourceAID)
throws DirectoryFailure,
QueryFailure,
java.net.URISyntaxException
- Copy the role value mapped values from a source AID to a destination ActionInfo
- Parameters:
policyRVMContainer:
- the container of peer role value maps (e.g. History*1.performedBy equals Control.performedBy)rvmId:
- the id of the role value map to be resolveddestinationActionInfo:
- the ActionInfo into which RVM values will be copiedsourceAID:
- the AID from which RVM values will be copied
- Throws:
DirectoryFailure
QueryFailure
java.net.URISyntaxException
printDebugString
protected void printDebugString(java.lang.String msg,
int loggerDisplayLevel)