Package org.eclipse.epsilon.eml.strategy
Class DefaultMergingStrategy
- java.lang.Object
-
- org.eclipse.epsilon.etl.strategy.AbstractTransformationStrategy
-
- org.eclipse.epsilon.etl.strategy.DefaultTransformationStrategy
-
- org.eclipse.epsilon.eml.strategy.DefaultMergingStrategy
-
- All Implemented Interfaces:
IMergingStrategy
,IEquivalentProvider
,ITransformationStrategy
public class DefaultMergingStrategy extends DefaultTransformationStrategy implements IMergingStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected IEmlContext
context
protected List<Object>
excluded
-
Fields inherited from class org.eclipse.epsilon.etl.strategy.AbstractTransformationStrategy
equivalentProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultMergingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<?>
getEquivalents(Object source, IErlContext context, List<String> rules)
List<Object>
getExcluded()
List<MergeRule>
getRulesFor(Match match, IEmlContext context)
void
mergeModels(IEmlContext context)
-
Methods inherited from class org.eclipse.epsilon.etl.strategy.DefaultTransformationStrategy
transform, transformModels
-
Methods inherited from class org.eclipse.epsilon.etl.strategy.AbstractTransformationStrategy
canTransform, getEquivalentProvider, getExecutableRules, getRulesFor, setEquivalentProvider
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.etl.strategy.ITransformationStrategy
canTransform, getEquivalent, getEquivalent, getEquivalentProvider, getEquivalents, setEquivalentProvider, transform, transformModels
-
-
-
-
Field Detail
-
context
protected IEmlContext context
-
-
Method Detail
-
mergeModels
public void mergeModels(IEmlContext context) throws EolRuntimeException
- Specified by:
mergeModels
in interfaceIMergingStrategy
- Throws:
EolRuntimeException
-
getRulesFor
public List<MergeRule> getRulesFor(Match match, IEmlContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getEquivalents
public Collection<?> getEquivalents(Object source, IErlContext context, List<String> rules) throws EolRuntimeException
- Specified by:
getEquivalents
in interfaceIEquivalentProvider
- Overrides:
getEquivalents
in classDefaultTransformationStrategy
- Throws:
EolRuntimeException
-
getExcluded
public List<Object> getExcluded()
- Overrides:
getExcluded
in classAbstractTransformationStrategy
-
-