Package rules.impl
Class SamePolicy
- java.lang.Object
-
- rules.AbstractRule
-
- rules.impl.SamePolicy
-
- All Implemented Interfaces:
IRulesDefinition
public class SamePolicy extends AbstractRule
Ruleset for same policy (A policy is affected by 2 context sets which are the same, remove first)
-
-
Field Summary
-
Fields inherited from class rules.AbstractRule
appliedList, contextModelAbs, errorList, hierarchicalContextAbs, recordCompare
-
-
Constructor Summary
Constructors Constructor Description SamePolicy(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 ruleset-
Methods inherited from class rules.AbstractRule
applyRuleToModel, createRecord, executeRule, getErrors, getNumberOfRecords, isRemoveNegative
-
-
-
-
Constructor Detail
-
SamePolicy
public SamePolicy(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:
-
-