I need to retrieve the togglz feature name for which the status is changed. Is there any way to do that? I'm stuck with this for the past 1 day. Any help is highly appreciated. Please find my sample code below
public enum MyFeatures implements Feature {
@EnabledByDefault
@Label("First Feature")
FEATURE_ONE,
@Label("Second Feature")
FEATURE_TWO;
}
@Bean
public FeatureProvider featureProvider() {
return new EnumBasedFeatureProvider(MyFeatures.class);
}
Whenever there is a change in the togglz status from togglz-console I need a way to get the name of the feature which got changed.