Class DevCycleUser
java.lang.Object
com.devcycle.sdk.server.common.model.DevCycleUser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DevCycleUserfromEvaluationContext(dev.openfeature.sdk.EvaluationContext ctx) Create a DevCycleUser from an EvaluationContextstatic PlatformData
-
Constructor Details
-
DevCycleUser
public DevCycleUser()
-
-
Method Details
-
getPlatformData
-
fromEvaluationContext
Create a DevCycleUser from an EvaluationContext- Parameters:
ctx- A context to load a targeting key and user data from- Returns:
- An initialized DevCycleUser with data from the context
- Throws:
dev.openfeature.sdk.exceptions.TargetingKeyMissingError- if none of the targeting key, user_id, or userId attributes are set or valid
-