public class FlagChangeEvent
extends java.lang.Object
FlagChangeListener
.
This is not an analytics event to be sent to LaunchDarkly; it is a notification to the application.
FlagChangeListener
,
FlagValueChangeEvent
,
FlagTracker.addFlagChangeListener(FlagChangeListener)
Constructor and Description |
---|
FlagChangeEvent(java.lang.String key)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Returns the key of the feature flag whose configuration has changed.
|
public FlagChangeEvent(java.lang.String key)
key
- the feature flag keypublic java.lang.String getKey()
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.