Class MigrationStrategy
- java.lang.Object
-
- org.eclipse.epsilon.flock.model.domain.MigrationStrategy
-
public class MigrationStrategy extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ModuleElement>
children
protected MigrateRules
migrateRules
protected TypeMappingConstructs
typeMappingConstructs
-
Constructor Summary
Constructors Constructor Description MigrationStrategy(ClassifierTypedConstruct... constructs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRule(MigrateRule rule)
void
addTypeMappingConstruct(TypeMappingConstruct typeMappingConstruct)
void
applyRulesTo(MigrateRuleContext context)
void
checkTypeMappingsAndRules(MigrationStrategyCheckingContext context)
Equivalence
createEquivalence(TypeMappingContext context)
TypeMappingConstructs
getTypeMappingConstructs()
java.util.Collection<ModuleElement>
getTypeMappingsAndRules()
IgnoredProperties
ignoredPropertiesFor(MigrateRuleContext context)
-
-
-
Field Detail
-
children
protected java.util.List<ModuleElement> children
-
typeMappingConstructs
protected TypeMappingConstructs typeMappingConstructs
-
migrateRules
protected MigrateRules migrateRules
-
-
Constructor Detail
-
MigrationStrategy
public MigrationStrategy(ClassifierTypedConstruct... constructs)
-
-
Method Detail
-
getTypeMappingConstructs
public TypeMappingConstructs getTypeMappingConstructs()
-
getTypeMappingsAndRules
public java.util.Collection<ModuleElement> getTypeMappingsAndRules()
-
addTypeMappingConstruct
public void addTypeMappingConstruct(TypeMappingConstruct typeMappingConstruct)
-
createEquivalence
public Equivalence createEquivalence(TypeMappingContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
addRule
public void addRule(MigrateRule rule)
-
checkTypeMappingsAndRules
public void checkTypeMappingsAndRules(MigrationStrategyCheckingContext context)
-
ignoredPropertiesFor
public IgnoredProperties ignoredPropertiesFor(MigrateRuleContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
applyRulesTo
public void applyRulesTo(MigrateRuleContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
-