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, setProfilingEnableddispose, 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, setWarningStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutorFactorydispose, 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, setWarningStreamprotected Model originalModel
protected Model migratedModel
public Model getOriginalModel()
public Model getMigratedModel()
public void setOriginalModel(IModel originalModel) throws FlockUnsupportedModelException
setOriginalModel in interface IFlockContextFlockUnsupportedModelExceptionpublic void setMigratedModel(IModel migratedModel) throws FlockUnsupportedModelException
setMigratedModel in interface IFlockContextFlockUnsupportedModelExceptionpublic void setOriginalModel(int indexInRepository)
throws FlockUnsupportedModelException
setOriginalModel in interface IFlockContextFlockUnsupportedModelExceptionpublic void setMigratedModel(int indexInRepository)
throws FlockUnsupportedModelException
setMigratedModel in interface IFlockContextFlockUnsupportedModelExceptionpublic FlockResult execute(MigrationStrategy strategy) throws FlockRuntimeException
execute in interface IFlockContextFlockRuntimeExceptionpublic EquivalenceEstablishmentContext getEquivalenceEstablishmentContext()
getEquivalenceEstablishmentContext in interface IFlockContextpublic MigrationStrategyCheckingContext getMigrationStrategyCheckingContext()
getMigrationStrategyCheckingContext in interface IFlockContextpublic ConservativeCopyContext getConservativeCopyContext()
getConservativeCopyContext in interface IFlockContextpublic IFlockModule getModule()
IErlContextgetModule in interface IEolContextgetModule in interface IErlContextgetModule in class ErlContextIEolContext.getModule()Copyright © 2020. All rights reserved.