Class Event.AliasEvent
- java.lang.Object
-
- com.launchdarkly.sdk.server.interfaces.Event
-
- com.launchdarkly.sdk.server.interfaces.Event.AliasEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.launchdarkly.sdk.server.interfaces.Event
Event.AliasEvent, Event.Custom, Event.FeatureRequest, Event.Identify, Event.Index
-
-
Constructor Summary
Constructors Constructor Description AliasEvent(long timestamp, LDUser user, LDUser previousUser)
Constructs an alias event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContextKind()
Get the kind of the user being aliased tojava.lang.String
getKey()
Get the key of the user being aliased tojava.lang.String
getPreviousContextKind()
Get the kind of the user being aliased fromjava.lang.String
getPreviousKey()
Get the key of the user being aliased from-
Methods inherited from class com.launchdarkly.sdk.server.interfaces.Event
getCreationDate, getUser
-
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Get the key of the user being aliased to- Returns:
- the user key
-
getContextKind
public java.lang.String getContextKind()
Get the kind of the user being aliased to- Returns:
- the context kind
-
getPreviousKey
public java.lang.String getPreviousKey()
Get the key of the user being aliased from- Returns:
- the previous user key
-
getPreviousContextKind
public java.lang.String getPreviousContextKind()
Get the kind of the user being aliased from- Returns:
- the previous context kind
-
-