public class MigrationEngine extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MigrationEngine.AssignmentListener
Assignment change listener.
|
Constructor and Description |
---|
MigrationEngine(ModelInstanceEntity modelInstanceEntity,
ModelInstanceUtilsService modelInstanceUtilsService,
ModelProviderService modelProviderService,
CommunicationService communicationService,
UnprocessedInputsService unprocessedInputsService,
ProcessLogDao processLogDao,
ProcessInterpreterContext processInterpreterContext)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
abortModelUpdate()
Aborts model update in any phase.
|
void |
checkPhases()
Checks if the model instance should move to a next phase.
|
protected ModelProviderImpl |
getModelProvider() |
void |
startPostprocessing()
Starts migration of model instance state by executing post-processing model.
|
void |
startPreprocessing()
Starts migration of model instance state by executing pre-processing model.
|
void |
transform()
Transforms state according to the migration configuration
|
public MigrationEngine(ModelInstanceEntity modelInstanceEntity, ModelInstanceUtilsService modelInstanceUtilsService, ModelProviderService modelProviderService, CommunicationService communicationService, UnprocessedInputsService unprocessedInputsService, ProcessLogDao processLogDao, ProcessInterpreterContext processInterpreterContext)
modelInstanceEntity
- modelInstanceUtilsService
- modelProviderService
- communicationService
- unprocessedInputsService
- processLogDao
- processInterpreterContext
- protected ModelProviderImpl getModelProvider()
public void startPreprocessing() throws InvalidModelInstanceStateException, ErrorException
public void startPostprocessing() throws InvalidModelInstanceStateException, ErrorException
public void abortModelUpdate() throws InvalidModelInstanceStateException, ErrorException
public void checkPhases() throws ErrorException
ErrorException
public void transform() throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.