| Package | Description |
|---|---|
| dev.openfeature.sdk | |
| dev.openfeature.sdk.providers.memory |
| Modifier and Type | Method and Description |
|---|---|
protected Value |
Value.clone()
Perform deep clone of value object.
|
Value |
OpenFeatureClient.getObjectValue(String key,
Value defaultValue) |
Value |
Features.getObjectValue(String key,
Value defaultValue) |
Value |
OpenFeatureClient.getObjectValue(String key,
Value defaultValue,
EvaluationContext ctx) |
Value |
Features.getObjectValue(String key,
Value defaultValue,
EvaluationContext ctx) |
Value |
OpenFeatureClient.getObjectValue(String key,
Value defaultValue,
EvaluationContext ctx,
FlagEvaluationOptions options) |
Value |
Features.getObjectValue(String key,
Value defaultValue,
EvaluationContext ctx,
FlagEvaluationOptions options) |
Value |
MutableStructure.getValue(String key) |
Value |
ImmutableStructure.getValue(String key) |
Value |
Structure.getValue(String key)
Get the value indexed by key.
|
static Value |
Value.objectToValue(Object object)
Wrap an object into a Value.
|
| Modifier and Type | Method and Description |
|---|---|
List<Value> |
Value.asList()
Retrieve the underlying List value, or null.
|
Map<String,Value> |
MutableStructure.asMap()
Get all values.
|
Map<String,Value> |
ImmutableStructure.asMap()
Get all values.
|
Map<String,Value> |
Structure.asMap()
Get all values, as a map of Values.
|
FlagEvaluationDetails<Value> |
OpenFeatureClient.getObjectDetails(String key,
Value defaultValue) |
FlagEvaluationDetails<Value> |
Features.getObjectDetails(String key,
Value defaultValue) |
FlagEvaluationDetails<Value> |
OpenFeatureClient.getObjectDetails(String key,
Value defaultValue,
EvaluationContext ctx) |
FlagEvaluationDetails<Value> |
Features.getObjectDetails(String key,
Value defaultValue,
EvaluationContext ctx) |
FlagEvaluationDetails<Value> |
OpenFeatureClient.getObjectDetails(String key,
Value defaultValue,
EvaluationContext ctx,
FlagEvaluationOptions options) |
FlagEvaluationDetails<Value> |
Features.getObjectDetails(String key,
Value defaultValue,
EvaluationContext ctx,
FlagEvaluationOptions options) |
ProviderEvaluation<Value> |
FeatureProvider.getObjectEvaluation(String key,
Value defaultValue,
EvaluationContext ctx) |
ProviderEvaluation<Value> |
NoOpProvider.getObjectEvaluation(String key,
Value defaultValue,
EvaluationContext invocationContext) |
default <T extends Structure> |
Structure.merge(Function<Map<String,Value>,Structure> newStructure,
Map<String,Value> base,
Map<String,Value> overriding)
Recursively merges the base map with the overriding map.
|
| Modifier and Type | Method and Description |
|---|---|
MutableContext |
MutableContext.add(String key,
List<Value> value) |
<T> MutableStructure |
MutableStructure.add(String key,
List<Value> value) |
default <T extends Structure> |
Structure.merge(Function<Map<String,Value>,Structure> newStructure,
Map<String,Value> base,
Map<String,Value> overriding)
Recursively merges the base map with the overriding map.
|
default <T extends Structure> |
Structure.merge(Function<Map<String,Value>,Structure> newStructure,
Map<String,Value> base,
Map<String,Value> overriding)
Recursively merges the base map with the overriding map.
|
default <T extends Structure> |
Structure.merge(Function<Map<String,Value>,Structure> newStructure,
Map<String,Value> base,
Map<String,Value> overriding)
Recursively merges the base map with the overriding map.
|
| Constructor and Description |
|---|
Value(Value value) |
| Constructor and Description |
|---|
ImmutableContext(Map<String,Value> attributes)
Create an immutable context with an attributes provided.
|
ImmutableContext(String targetingKey,
Map<String,Value> attributes)
Create an immutable context with given targetingKey and attributes provided.
|
ImmutableStructure(Map<String,Value> attributes)
create immutable structure with the given attributes.
|
MutableContext(Map<String,Value> attributes) |
MutableContext(String targetingKey,
Map<String,Value> attributes) |
MutableStructure(Map<String,Value> attributes) |
Value(List<Value> value) |
| Modifier and Type | Method and Description |
|---|---|
ProviderEvaluation<Value> |
InMemoryProvider.getObjectEvaluation(String key,
Value defaultValue,
EvaluationContext evaluationContext) |
| Modifier and Type | Method and Description |
|---|---|
ProviderEvaluation<Value> |
InMemoryProvider.getObjectEvaluation(String key,
Value defaultValue,
EvaluationContext evaluationContext) |
Copyright © 2023. All rights reserved.