Class FlagChangeEvent
- java.lang.Object
-
- com.launchdarkly.sdk.server.interfaces.FlagChangeEvent
-
- Direct Known Subclasses:
FlagValueChangeEvent
public class FlagChangeEvent extends java.lang.Object
Parameter class used withFlagChangeListener
.This is not an analytics event to be sent to LaunchDarkly; it is a notification to the application.
- Since:
- 5.0.0
- See Also:
FlagChangeListener
,FlagValueChangeEvent
,FlagTracker.addFlagChangeListener(FlagChangeListener)
-
-
Constructor Summary
Constructors Constructor Description FlagChangeEvent(java.lang.String key)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Returns the key of the feature flag whose configuration has changed.
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Returns the key of the feature flag whose configuration has changed.The specified flag may have been modified directly, or this may be an indirect change due to a change in some other flag that is a prerequisite for this flag, or a user segment that is referenced in the flag's rules.
- Returns:
- the flag key
-
-