Class DevCycleUser


  • public class DevCycleUser
    extends java.lang.Object
    • Constructor Detail

      • DevCycleUser

        public DevCycleUser()
    • Method Detail

      • getPlatformData

        public static PlatformData getPlatformData()
      • fromEvaluationContext

        public static DevCycleUser fromEvaluationContext​(dev.openfeature.sdk.EvaluationContext ctx)
        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 the targeting key or user_id attribute is not set