Uses of Class
dev.openfeature.sdk.OpenFeatureAPI
Packages that use OpenFeatureAPI
-
Uses of OpenFeatureAPI in dev.openfeature.sdk
Methods in dev.openfeature.sdk that return OpenFeatureAPIModifier and TypeMethodDescriptionstatic OpenFeatureAPIOpenFeatureAPI.getInstance()Provisions theOpenFeatureAPIsingleton (if needed) and returns it.OpenFeatureAPI.on(ProviderEvent event, Consumer<EventDetails> handler) Add a handler for the specifiedProviderEvent.OpenFeatureAPI.onProviderConfigurationChanged(Consumer<EventDetails> handler) Add a handler for theProviderEvent.PROVIDER_CONFIGURATION_CHANGEDevent.OpenFeatureAPI.onProviderError(Consumer<EventDetails> handler) Add a handler for theProviderEvent.PROVIDER_STALEevent.OpenFeatureAPI.onProviderReady(Consumer<EventDetails> handler) Add a handler for theProviderEvent.PROVIDER_READYevent.OpenFeatureAPI.onProviderStale(Consumer<EventDetails> handler) Add a handler for theProviderEvent.PROVIDER_ERRORevent.OpenFeatureAPI.removeHandler(ProviderEvent event, Consumer<EventDetails> handler) Remove the previously attached handler by reference.OpenFeatureAPI.setEvaluationContext(EvaluationContext evaluationContext) Sets the global evaluation context, which will be used for all evaluations.Constructors in dev.openfeature.sdk with parameters of type OpenFeatureAPIModifierConstructorDescriptionOpenFeatureClient(OpenFeatureAPI openFeatureAPI, String domain, String version) Deprecated.Do not use this constructor.