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 boolean
applyRule(org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff)
Abstract method, different implementation depending on rulesetboolean
executeRule()
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.seff.ResourceDemandingBehaviour seff)
Description copied from class:AbstractRule
Abstract method, different implementation depending on ruleset- Specified by:
applyRule
in classAbstractRule
- Returns:
-
executeRule
public boolean executeRule()
Description copied from class:AbstractRule
Applying a rule is the same for each rule, all information is collected in RulesRecord- Specified by:
executeRule
in interfaceIRulesDefinition
- Overrides:
executeRule
in classAbstractRule
-
-