Package policyderiver
Class Deriver
- java.lang.Object
-
- policyderiver.Deriver
-
public class Deriver extends Object
Finds affected seffs for each system call, then derives the contexts for that seffs and creates policy specification for it
-
-
Constructor Summary
Constructors Constructor Description Deriver(Settings settings, ContextModelAbstraction contextModelAbs, PalladioAbstraction palladioAbs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Entrypoint Start from usage model, find affected seffs for each system call.EList<DeriverRecord>
getContextSetsToApply(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour, org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall systemCall)
Calculate which context set needs to be applied.
-
-
-
Constructor Detail
-
Deriver
public Deriver(Settings settings, ContextModelAbstraction contextModelAbs, PalladioAbstraction palladioAbs)
-
-
Method Detail
-
execute
public void execute()
Entrypoint Start from usage model, find affected seffs for each system call. Use palladio abstraction
-
getContextSetsToApply
public EList<DeriverRecord> getContextSetsToApply(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour, org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall systemCall)
Calculate which context set needs to be applied. Depends on system call and scenario behaviour. Setting can affect the selected context set.- Parameters:
scenarioBehaviour
-systemCall
-- Returns:
-
-