Package org.eclipse.epsilon.etl.strategy
Class AbstractTransformationStrategy
- java.lang.Object
-
- org.eclipse.epsilon.etl.strategy.AbstractTransformationStrategy
-
- All Implemented Interfaces:
IEquivalentProvider
,ITransformationStrategy
- Direct Known Subclasses:
DefaultTransformationStrategy
,FastTransformationStrategy
public abstract class AbstractTransformationStrategy extends Object implements ITransformationStrategy
- Since:
- 1.6
- Author:
- Sina Madani
-
-
Field Summary
Fields Modifier and Type Field Description protected IEquivalentProvider
equivalentProvider
-
Constructor Summary
Constructors Constructor Description AbstractTransformationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canTransform(Object source)
IEquivalentProvider
getEquivalentProvider()
protected Collection<Object>
getExcluded()
protected List<TransformationRule>
getExecutableRules(IEtlContext context)
protected List<TransformationRule>
getRulesFor(Object source, IEtlContext context)
void
setEquivalentProvider(IEquivalentProvider equivalentProvider)
-
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.erl.strategy.IEquivalentProvider
getEquivalents
-
Methods inherited from interface org.eclipse.epsilon.etl.strategy.ITransformationStrategy
getEquivalent, getEquivalent, getEquivalents, transform, transformModels
-
-
-
-
Field Detail
-
equivalentProvider
protected IEquivalentProvider equivalentProvider
-
-
Method Detail
-
getExcluded
protected Collection<Object> getExcluded()
-
getExecutableRules
protected List<TransformationRule> getExecutableRules(IEtlContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getRulesFor
protected List<TransformationRule> getRulesFor(Object source, IEtlContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
canTransform
public boolean canTransform(Object source)
- Specified by:
canTransform
in interfaceITransformationStrategy
-
setEquivalentProvider
public void setEquivalentProvider(IEquivalentProvider equivalentProvider)
- Specified by:
setEquivalentProvider
in interfaceITransformationStrategy
-
getEquivalentProvider
public IEquivalentProvider getEquivalentProvider()
- Specified by:
getEquivalentProvider
in interfaceITransformationStrategy
-
-