public class VariableContextFake extends Object implements org.camunda.bpm.engine.variable.context.VariableContext, java.util.function.Supplier<org.camunda.bpm.engine.variable.VariableMap>
VariableContext that internally uses a VariableMap to keep key/value pairs.
Use add(String, TypedValue) for fluent building.
| Constructor and Description |
|---|
VariableContextFake() |
| Modifier and Type | Method and Description |
|---|---|
VariableContextFake |
add(String key,
org.camunda.bpm.engine.variable.value.TypedValue value) |
boolean |
containsVariable(String key) |
org.camunda.bpm.engine.variable.VariableMap |
get() |
Set<String> |
keySet() |
org.camunda.bpm.engine.variable.value.TypedValue |
resolve(String key) |
public org.camunda.bpm.engine.variable.value.TypedValue resolve(String key)
resolve in interface org.camunda.bpm.engine.variable.context.VariableContextpublic boolean containsVariable(String key)
containsVariable in interface org.camunda.bpm.engine.variable.context.VariableContextpublic Set<String> keySet()
keySet in interface org.camunda.bpm.engine.variable.context.VariableContextpublic VariableContextFake add(String key, org.camunda.bpm.engine.variable.value.TypedValue value)
public org.camunda.bpm.engine.variable.VariableMap get()
get in interface java.util.function.Supplier<org.camunda.bpm.engine.variable.VariableMap>Copyright © 2020 Camunda Services GmbH. All rights reserved.