Interface IActivationNotificationListener
-
- All Known Implementing Classes:
AdaptableActivationNotificationListener,ConflictSetUpdater,DefaultActivationNotificationListener
public interface IActivationNotificationListenerThe 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivationChanged(Activation<?> activation, ActivationState oldState, EventType event)This method is called byActivationNotificationProviderto relay changes to listeners.voidactivationCreated(Activation<?> activation, ActivationState inactiveState)voidactivationRemoved(Activation<?> activation, ActivationState oldState)
-
-
-
Method Detail
-
activationChanged
void activationChanged(Activation<?> activation, ActivationState oldState, EventType event)
This method is called byActivationNotificationProviderto 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)
-
-