| Package | Description |
|---|---|
| dev.openfeature.sdk |
| Modifier and Type | Method and Description |
|---|---|
static ProviderEvent |
ProviderEvent.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProviderEvent[] |
ProviderEvent.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventProvider.emit(ProviderEvent event,
ProviderEventDetails details)
Emit the specified
ProviderEvent. |
T |
EventBus.on(ProviderEvent event,
Consumer<EventDetails> handler)
Add a handler for the specified
ProviderEvent. |
Client |
OpenFeatureClient.on(ProviderEvent event,
Consumer<EventDetails> handler)
Add a handler for the specified
ProviderEvent. |
OpenFeatureAPI |
OpenFeatureAPI.on(ProviderEvent event,
Consumer<EventDetails> handler)
Add a handler for the specified
ProviderEvent. |
T |
EventBus.removeHandler(ProviderEvent event,
Consumer<EventDetails> handler)
Remove the previously attached handler by reference.
|
Client |
OpenFeatureClient.removeHandler(ProviderEvent event,
Consumer<EventDetails> handler)
Remove the previously attached handler by reference.
|
OpenFeatureAPI |
OpenFeatureAPI.removeHandler(ProviderEvent event,
Consumer<EventDetails> handler)
Remove the previously attached handler by reference.
|
Copyright © 2023. All rights reserved.