Package policyreducer
Class PolicyReducer
- java.lang.Object
-
- policyreducer.PolicyReducer
-
public class PolicyReducer extends Object
Execute a set of rules on the given context model
-
-
Constructor Summary
Constructors Constructor Description PolicyReducer(ContextModelAbstraction contextModelAbs, RulesFlag rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute()
Execute the rules For each defined rule, it is check if it can be applied, and record of the data is created, and afterwards executed If the context model is changed during the process, these steps are repeated.org.palladiosimulator.pcm.confidentiality.context.ConfidentialAccessSpecification
getContextModel()
EList<ErrorRecord>
getErrorList()
Returns the errorlist for the last run
-
-
-
Constructor Detail
-
PolicyReducer
public PolicyReducer(ContextModelAbstraction contextModelAbs, RulesFlag rules)
-
-
Method Detail
-
execute
public int execute()
Execute the rules For each defined rule, it is check if it can be applied, and record of the data is created, and afterwards executed If the context model is changed during the process, these steps are repeated. Executing a rule can result in an other rule beeing applicable. (Similar: Fixpunktiteration)
-
getContextModel
public org.palladiosimulator.pcm.confidentiality.context.ConfidentialAccessSpecification getContextModel()
-
getErrorList
public EList<ErrorRecord> getErrorList()
Returns the errorlist for the last run- Returns:
-
-