org.eclipse.incquery.runtime.evm.notification

## Interface IActivationNotificationListener

- All Known Implementing Classes:
    ConflictSetUpdater

      public interface IActivationNotificationListener

  The interface is used to observe the changes in the collection of activations.

  An implementing class is for example the RuleBase which is called back by the RuleInstance when those have updated the activations after an EMF operation.
  Author:
    Tamas Szabo

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `activationChanged(Activation<?> activation, ActivationState oldState, EventType event)` This method is called by `ActivationNotificationProvider` to relay changes to listeners.
    `void` | `activationCreated(Activation<?> activation, ActivationState inactiveState)`
    `void` | `activationRemoved(Activation<?> activation, ActivationState oldState)`

- - ### Method Detail

    - #### activationChanged

          void activationChanged(Activation<?> activation,
                                 ActivationState oldState,
                                 EventType event)

      This method is called by `ActivationNotificationProvider` to relay changes to listeners.

      Implementing classes can use the old state, the event, and the new state (available from the activation).
      Parameters:
        `activation` -
        `oldState` -
        `event` -

    - #### activationCreated

          void activationCreated(Activation<?> activation,
                                 ActivationState inactiveState)

    - #### activationRemoved

          void activationRemoved(Activation<?> activation,
                                 ActivationState oldState)