public class FeatureChangeNotifier extends Object
The listeners have to subscribe via the
subscribe(FeatureChangeSubscriber) method and will be notified of
every call to the static
notifyFeatureChange(FeatureState) method. This method, on the other hand, has to be
called whenever a feature is activated or deactivated.
|Constructor and Description|
|Modifier and Type||Method and Description|
Adds a subscriber to the list of listeners to be notified in case of a change.
Removes a subscriber from the list of listeners to be notified in case of a change.
public static void subscribe(FeatureChangeSubscriber subscriber)
subscriber- The subscriber to add.
public static void unsubscribe(FeatureChangeSubscriber subscriber)
subscriber- The subscriber to remove.
Copyright © 2020 SAP SE. All rights reserved.