Package rules.impl
Class MergeSEFF
- java.lang.Object
-
- rules.AbstractRule
-
- rules.impl.MergeSEFF
-
- All Implemented Interfaces:
IRulesDefinition
public class MergeSEFF extends AbstractRule
Ruleset for Substitute Parent (all children in hierarchical context --> replace with parent)
-
-
Field Summary
-
Fields inherited from class rules.AbstractRule
appliedList, contextModelAbs, errorList, hierarchicalContextAbs, recordCompare
-
-
Constructor Summary
Constructors Constructor Description MergeSEFF(ContextModelAbstraction contextModelAbs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyRule(org.palladiosimulator.pcm.confidentiality.context.specification.assembly.MethodSpecification seff)Abstract method, different implementation depending on rulesetbooleanexecuteRule()Applying a rule is the same for each rule, all information is collected in RulesRecord-
Methods inherited from class rules.AbstractRule
applyRuleToModel, createRecord, getErrors, getNumberOfRecords, isRemoveNegative
-
-
-
-
Constructor Detail
-
MergeSEFF
public MergeSEFF(ContextModelAbstraction contextModelAbs)
-
-
Method Detail
-
applyRule
public boolean applyRule(org.palladiosimulator.pcm.confidentiality.context.specification.assembly.MethodSpecification seff)
Description copied from class:AbstractRuleAbstract method, different implementation depending on ruleset- Specified by:
applyRulein classAbstractRule- Returns:
-
executeRule
public boolean executeRule()
Description copied from class:AbstractRuleApplying a rule is the same for each rule, all information is collected in RulesRecord- Specified by:
executeRulein interfaceIRulesDefinition- Overrides:
executeRulein classAbstractRule
-
-