public class MutableContext extends Object implements EvaluationContext
| Constructor and Description |
|---|
MutableContext() |
MutableContext(Map<String,Value> attributes) |
MutableContext(String targetingKey) |
MutableContext(String targetingKey,
Map<String,Value> attributes) |
| Modifier and Type | Method and Description |
|---|---|
MutableContext |
add(String key,
Boolean value) |
MutableContext |
add(String key,
Double value) |
MutableContext |
add(String key,
Instant value) |
MutableContext |
add(String key,
Integer value) |
MutableContext |
add(String key,
List<Value> value) |
MutableContext |
add(String key,
String value) |
MutableContext |
add(String key,
Structure value) |
EvaluationContext |
merge(EvaluationContext overridingContext)
Merges this EvaluationContext objects with the second overriding the this in
case of conflict.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetingKeyasMap, asObjectMap, convertValue, getValue, keySet, mapToStructure, mergepublic MutableContext()
public MutableContext(String targetingKey)
public MutableContext add(String key, Boolean value)
public MutableContext add(String key, String value)
public MutableContext add(String key, Integer value)
public MutableContext add(String key, Double value)
public MutableContext add(String key, Instant value)
public MutableContext add(String key, Structure value)
public MutableContext add(String key, List<Value> value)
public EvaluationContext merge(EvaluationContext overridingContext)
merge in interface EvaluationContextoverridingContext - overriding contextCopyright © 2023. All rights reserved.