| Package | Description |
|---|---|
| dev.openfeature.sdk |
| Modifier and Type | Class and Description |
|---|---|
class |
OpenFeatureClient
Deprecated.
// TODO: eventually we will make this non-public. See issue #872
|
| Modifier and Type | Method and Description |
|---|---|
Client |
Client.addHooks(Hook... hooks)
Adds hooks for evaluation.
|
Client |
OpenFeatureAPI.getClient()
A factory function for creating new, OpenFeature clients.
|
Client |
OpenFeatureAPI.getClient(String domain)
A factory function for creating new domainless OpenFeature clients.
|
Client |
OpenFeatureAPI.getClient(String domain,
String version)
A factory function for creating new domainless OpenFeature clients.
|
Client |
OpenFeatureClient.on(ProviderEvent event,
Consumer<EventDetails> handler)
Deprecated.
Add a handler for the specified
ProviderEvent. |
Client |
OpenFeatureClient.onProviderConfigurationChanged(Consumer<EventDetails> handler)
Deprecated.
Add a handler for the
ProviderEvent.PROVIDER_CONFIGURATION_CHANGED event. |
Client |
OpenFeatureClient.onProviderError(Consumer<EventDetails> handler)
Deprecated.
Add a handler for the
ProviderEvent.PROVIDER_STALE event. |
Client |
OpenFeatureClient.onProviderReady(Consumer<EventDetails> handler)
Deprecated.
Add a handler for the
ProviderEvent.PROVIDER_READY event. |
Client |
OpenFeatureClient.onProviderStale(Consumer<EventDetails> handler)
Deprecated.
Add a handler for the
ProviderEvent.PROVIDER_ERROR event. |
Client |
OpenFeatureClient.removeHandler(ProviderEvent event,
Consumer<EventDetails> handler)
Deprecated.
Remove the previously attached handler by reference.
|
Client |
Client.setEvaluationContext(EvaluationContext ctx)
Set the client-level evaluation context.
|
Copyright © 2024. All rights reserved.