org.eclipse.viatra.transformation.evm.update

## Interface IUpdateCompleteProvider

- All Known Implementing Classes:
    IQBaseCallbackUpdateCompleteProvider, QueryEngineUpdateCompleteProvider, TransactionUpdateCompleteProvider, UpdateCompleteProvider

      public interface IUpdateCompleteProvider

  This interface is used to register listeners for a given type of update complete event.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `addUpdateCompleteListener(IUpdateCompleteListener listener, boolean fireNow)` Registers an `IUpdateCompleteListener` to receive notification on completed updates.
    `boolean` | `removeUpdateCompleteListener(IUpdateCompleteListener listener)` Unregisters a listener registered by `addUpdateCompleteListener(IUpdateCompleteListener, boolean)`.

- - ### Method Detail

    - #### addUpdateCompleteListener

          boolean addUpdateCompleteListener(IUpdateCompleteListener listener,
                                            boolean fireNow)

      Registers an `IUpdateCompleteListener` to receive notification on completed updates.

      The listener can be unregistered via `removeUpdateCompleteListener(IUpdateCompleteListener)`.

      Parameters:
        `fireNow` - if true, listener will be immediately invoked without waiting for the next update
        `listener` - the listener that will be notified of each completed update

    - #### removeUpdateCompleteListener

          boolean removeUpdateCompleteListener(IUpdateCompleteListener listener)

      Unregisters a listener registered by `addUpdateCompleteListener(IUpdateCompleteListener, boolean)`.
      Parameters:
        `listener` - the listener that will no longer be notified.