- accept(T, U, V) - Method in interface dev.openfeature.sdk.internal.TriConsumer
-
Performs this operation on the given arguments.
- add(String, Boolean) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, String) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, Integer) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, Double) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, Instant) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, Structure) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, List<Value>) - Method in class dev.openfeature.sdk.MutableContext
-
- add(String, Value) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, Boolean) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, String) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, Integer) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, Double) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, Instant) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, Structure) - Method in class dev.openfeature.sdk.MutableStructure
-
- add(String, List<Value>) - Method in class dev.openfeature.sdk.MutableStructure
-
- addBoolean(String, Boolean) - Method in class dev.openfeature.sdk.ImmutableMetadata.ImmutableMetadataBuilder
-
Add Boolean value to the metadata.
- addDouble(String, Double) - Method in class dev.openfeature.sdk.ImmutableMetadata.ImmutableMetadataBuilder
-
Add Double value to the metadata.
- addFloat(String, Float) - Method in class dev.openfeature.sdk.ImmutableMetadata.ImmutableMetadataBuilder
-
Add Float value to the metadata.
- addHooks(Hook...) - Method in interface dev.openfeature.sdk.Client
-
Adds hooks for evaluation.
- addHooks(Hook...) - Method in class dev.openfeature.sdk.OpenFeatureAPI
- addHooks(Hook...) - Method in class dev.openfeature.sdk.OpenFeatureClient
-
Adds hooks for evaluation.
- addInteger(String, Integer) - Method in class dev.openfeature.sdk.ImmutableMetadata.ImmutableMetadataBuilder
-
Add Integer value to the metadata.
- addLong(String, Long) - Method in class dev.openfeature.sdk.ImmutableMetadata.ImmutableMetadataBuilder
-
Add Long value to the metadata.
- addString(String, String) - Method in class dev.openfeature.sdk.ImmutableMetadata.ImmutableMetadataBuilder
-
Add String value to the metadata.
- after(HookContext<T>, FlagEvaluationDetails<T>, Map<String, Object>) - Method in interface dev.openfeature.sdk.Hook
-
Runs after a flag is resolved.
- andThen(TriConsumer<T, U, V>) - Method in interface dev.openfeature.sdk.internal.TriConsumer
-
Returns a composed TriConsumer that performs an additional operation.
- asBoolean() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying Boolean value, or null.
- asDouble() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying numeric value as a Double, or null.
- asInstant() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying Instant value, or null.
- asInteger() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying numeric value as an Integer, or null.
- asList() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying List value, or null.
- asMap() - Method in class dev.openfeature.sdk.ImmutableStructure
-
Get all values.
- asMap() - Method in class dev.openfeature.sdk.MutableStructure
-
Get all values.
- asMap() - Method in interface dev.openfeature.sdk.Structure
-
Get all values, as a map of Values.
- asObject() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying object.
- asObjectMap() - Method in interface dev.openfeature.sdk.Structure
-
Get all values, with as a map of Object.
- asString() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying String value, or null.
- asStructure() - Method in class dev.openfeature.sdk.Value
-
Retrieve the underlying Structure value, or null.
- AutoCloseableLock - Interface in dev.openfeature.sdk.internal
-
- AutoCloseableReentrantReadWriteLock - Class in dev.openfeature.sdk.internal
-
A utility class that wraps a multi-read/single-write lock construct as AutoCloseable, so it can
be used in a try-with-resources.
- AutoCloseableReentrantReadWriteLock() - Constructor for class dev.openfeature.sdk.internal.AutoCloseableReentrantReadWriteLock
-
- ImmutableContext - Class in dev.openfeature.sdk
-
The EvaluationContext is a container for arbitrary contextual data
that can be used as a basis for dynamic evaluation.
- ImmutableContext() - Constructor for class dev.openfeature.sdk.ImmutableContext
-
Create an immutable context with an empty targeting_key and attributes provided.
- ImmutableContext(String) - Constructor for class dev.openfeature.sdk.ImmutableContext
-
Create an immutable context with given targeting_key provided.
- ImmutableContext(Map<String, Value>) - Constructor for class dev.openfeature.sdk.ImmutableContext
-
Create an immutable context with an attributes provided.
- ImmutableContext(String, Map<String, Value>) - Constructor for class dev.openfeature.sdk.ImmutableContext
-
Create an immutable context with given targetingKey and attributes provided.
- ImmutableMetadata - Class in dev.openfeature.sdk
-
Immutable Flag Metadata representation.
- ImmutableMetadata.ImmutableMetadataBuilder - Class in dev.openfeature.sdk
-
- ImmutableStructure - Class in dev.openfeature.sdk
-
ImmutableStructure represents a potentially nested object type which
is used to represent
structured data.
- ImmutableStructure() - Constructor for class dev.openfeature.sdk.ImmutableStructure
-
create an immutable structure with the empty attributes.
- ImmutableStructure(Map<String, Value>) - Constructor for class dev.openfeature.sdk.ImmutableStructure
-
create immutable structure with the given attributes.
- initialize(EvaluationContext) - Method in interface dev.openfeature.sdk.FeatureProvider
-
This method is called before a provider is used to evaluate flags.
- initialize(EvaluationContext) - Method in class dev.openfeature.sdk.providers.memory.InMemoryProvider
-
Initialize the provider.
- InMemoryProvider - Class in dev.openfeature.sdk.providers.memory
-
In-memory provider.
- InMemoryProvider(Map<String, Flag<?>>) - Constructor for class dev.openfeature.sdk.providers.memory.InMemoryProvider
-
- IntegerHook - Interface in dev.openfeature.sdk
- InvalidContextError - Exception in dev.openfeature.sdk.exceptions
-
The evaluation context does not meet provider requirements.
- InvalidContextError() - Constructor for exception dev.openfeature.sdk.exceptions.InvalidContextError
-
- isBoolean() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents a Boolean.
- isInstant() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents an Instant.
- isList() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents a List of Values.
- isNull() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents null.
- isNumber() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents a numeric value.
- isString() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents a String.
- isStructure() - Method in class dev.openfeature.sdk.Value
-
Check if this Value represents a Structure.
- Value - Class in dev.openfeature.sdk
-
Values serve as a generic return type for structure data from providers.
- Value() - Constructor for class dev.openfeature.sdk.Value
-
Construct a new null Value.
- Value(Object) - Constructor for class dev.openfeature.sdk.Value
-
Construct a new Value with an Object.
- Value(Value) - Constructor for class dev.openfeature.sdk.Value
-
- Value(Boolean) - Constructor for class dev.openfeature.sdk.Value
-
- Value(String) - Constructor for class dev.openfeature.sdk.Value
-
- Value(Integer) - Constructor for class dev.openfeature.sdk.Value
-
- Value(Double) - Constructor for class dev.openfeature.sdk.Value
-
- Value(Structure) - Constructor for class dev.openfeature.sdk.Value
-
- Value(List<Value>) - Constructor for class dev.openfeature.sdk.Value
-
- Value(Instant) - Constructor for class dev.openfeature.sdk.Value
-
- ValueNotConvertableError - Exception in dev.openfeature.sdk.exceptions
-
The value can not be converted to a
Value.
- ValueNotConvertableError() - Constructor for exception dev.openfeature.sdk.exceptions.ValueNotConvertableError
-
- valueOf(String) - Static method in enum dev.openfeature.sdk.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.openfeature.sdk.FlagValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.openfeature.sdk.ProviderEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.openfeature.sdk.ProviderState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.openfeature.sdk.Reason
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dev.openfeature.sdk.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dev.openfeature.sdk.FlagValueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dev.openfeature.sdk.ProviderEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dev.openfeature.sdk.ProviderState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dev.openfeature.sdk.Reason
-
Returns an array containing the constants of this enum type, in
the order they are declared.