public class FlockContext extends ErlContext implements IFlockContext
Modifier and Type | Field and Description |
---|---|
protected Model |
migratedModel |
protected Model |
originalModel |
assertionsEnabled, asyncStatementsQueue, classpathNativeTypeDelegate, errorStream, executorFactory, extendedProperties, frameStack, introspectionManager, methodContributorRegistry, modelRepository, module, nativeTypeDelegates, operationFactory, outputStream, prettyPrinterManager, profilingEnabled, userInput, warningStream
Constructor and Description |
---|
FlockContext() |
Modifier and Type | Method and Description |
---|---|
FlockResult |
execute(MigrationStrategy strategy) |
ConservativeCopyContext |
getConservativeCopyContext() |
EquivalenceEstablishmentContext |
getEquivalenceEstablishmentContext() |
Model |
getMigratedModel() |
MigrationStrategyCheckingContext |
getMigrationStrategyCheckingContext() |
IFlockModule |
getModule()
Casts the IModule to IErlModule
|
Model |
getOriginalModel() |
void |
setMigratedModel(IModel migratedModel) |
void |
setMigratedModel(int indexInRepository) |
void |
setOriginalModel(IModel originalModel) |
void |
setOriginalModel(int indexInRepository) |
getExecutorFactory, setExecutorFactory, setProfilingEnabled
dispose, getAsyncStatementsQueue, getErrorStream, getExtendedProperties, getFrameStack, getIntrospectionManager, getModelRepository, getNativeTypeDelegates, getOperationContributorRegistry, getOperationFactory, getOutputStream, getPrettyPrinterManager, getUserInput, getWarningStream, isAssertionsEnabled, isProfilingEnabled, setAssertionsEnabled, setErrorStream, setExtendedProperties, setFrameStack, setIntrospectionManager, setModelRepository, setModule, setNativeTypeDelegates, setOperationFactory, setOutputStream, setPrettyPrinterManager, setUserInput, setWarningStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExecutorFactory
dispose, getAsyncStatementsQueue, getErrorStream, getExtendedProperties, getFrameStack, getIntrospectionManager, getModelRepository, getNativeTypeDelegates, getOperationContributorRegistry, getOperationFactory, getOutputStream, getPrettyPrinterManager, getUserInput, getWarningStream, isAssertionsEnabled, isProfilingEnabled, setAssertionsEnabled, setErrorStream, setExecutorFactory, setExtendedProperties, setFrameStack, setIntrospectionManager, setModelRepository, setModule, setNativeTypeDelegates, setOperationFactory, setOutputStream, setPrettyPrinterManager, setProfilingEnabled, setUserInput, setWarningStream
protected Model originalModel
protected Model migratedModel
public Model getOriginalModel()
public Model getMigratedModel()
public void setOriginalModel(IModel originalModel) throws FlockUnsupportedModelException
setOriginalModel
in interface IFlockContext
FlockUnsupportedModelException
public void setMigratedModel(IModel migratedModel) throws FlockUnsupportedModelException
setMigratedModel
in interface IFlockContext
FlockUnsupportedModelException
public void setOriginalModel(int indexInRepository) throws FlockUnsupportedModelException
setOriginalModel
in interface IFlockContext
FlockUnsupportedModelException
public void setMigratedModel(int indexInRepository) throws FlockUnsupportedModelException
setMigratedModel
in interface IFlockContext
FlockUnsupportedModelException
public FlockResult execute(MigrationStrategy strategy) throws FlockRuntimeException
execute
in interface IFlockContext
FlockRuntimeException
public EquivalenceEstablishmentContext getEquivalenceEstablishmentContext()
getEquivalenceEstablishmentContext
in interface IFlockContext
public MigrationStrategyCheckingContext getMigrationStrategyCheckingContext()
getMigrationStrategyCheckingContext
in interface IFlockContext
public ConservativeCopyContext getConservativeCopyContext()
getConservativeCopyContext
in interface IFlockContext
public IFlockModule getModule()
IErlContext
getModule
in interface IEolContext
getModule
in interface IErlContext
getModule
in class ErlContext
IEolContext.getModule()
Copyright © 2020. All rights reserved.