Interface IConfigurationChangeListener
public interface IConfigurationChangeListener
Interface for listeners, which should be informed in case of changes inside the configuration.
- Author:
- El-Sharkawy
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigurationRefreshed(Configuration config) Notification that the whole configuration was refreshed, e.g.voiditemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue) Notification that aDecisionVariablechanged inside theConfiguration.voidstateChanged(Configuration config, IDecisionVariable changedVariable) Notification that the state of aDecisionVariablehas been changed inside theConfiguration.
-
Method Details
-
itemChanged
Notification that aDecisionVariablechanged inside theConfiguration.- Parameters:
config- TheConfigurationwhere the change occurred.changedVariable- TheDecisionVariablewhich changed.oldValue- the old value ofchangedVariablebefore the change
-
stateChanged
Notification that the state of aDecisionVariablehas been changed inside theConfiguration.- Parameters:
config- TheConfigurationwhere the change occurred.changedVariable- TheDecisionVariablewhich changed.
-
configurationRefreshed
Notification that the whole configuration was refreshed, e.g. because the project was reparsed.- Parameters:
config- The configuration which was refreshed.
-