public abstract class IChangeMonitor
extends java.lang.Object
Constructor and Description |
---|
IChangeMonitor(ViatraQueryEngine engine) |
Modifier and Type | Method and Description |
---|---|
abstract ChangeDelta |
createCheckpoint()
Creates a checkpoint which means: Model changes since the last checkpont are saved The model changes
in the future are tracked separately from the changes before the checkpoint
|
abstract ChangeDelta |
getDeltaSinceLastCheckpoint()
Returns all changed elements between the last two checkpoints
|
abstract void |
startMonitoring()
Sets the model whose changes are observed.
|
public IChangeMonitor(ViatraQueryEngine engine)
public abstract void startMonitoring() throws ViatraQueryException
deployment
- the deployment modelengine
- engine associated with theViatraQueryException
public abstract ChangeDelta createCheckpoint()
public abstract ChangeDelta getDeltaSinceLastCheckpoint()