Interface IActivationNotificationListener
-
- All Known Implementing Classes:
AdaptableActivationNotificationListener
,ConflictSetUpdater
,DefaultActivationNotificationListener
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activationChanged(Activation<?> activation, ActivationState oldState, EventType event)
This method is called byActivationNotificationProvider
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 byActivationNotificationProvider
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)
-
-