public class ProcessVariableMap extends Object
BusinessProcess.setVariable(String, Object)
and
BusinessProcess.getVariable(String)
, so that they are not flushed
prematurely.Modifier and Type | Field and Description |
---|---|
protected BusinessProcess |
businessProcess |
Constructor and Description |
---|
ProcessVariableMap() |
Modifier and Type | Method and Description |
---|---|
org.camunda.bpm.engine.variable.context.VariableContext |
asVariableContext() |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
<T> T |
getValue(String name,
Class<T> type) |
<T extends org.camunda.bpm.engine.variable.value.TypedValue> |
getValueTyped(String name) |
protected Object |
getVariable(String variableName) |
protected <T extends org.camunda.bpm.engine.variable.value.TypedValue> |
getVariableTyped(String variableName) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
org.camunda.bpm.engine.variable.VariableMap |
putValue(String name,
Object value) |
org.camunda.bpm.engine.variable.VariableMap |
putValueTyped(String name,
org.camunda.bpm.engine.variable.value.TypedValue value) |
Object |
remove(Object key) |
protected void |
setVariable(String variableName,
Object value) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
@Inject protected BusinessProcess businessProcess
protected <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableTyped(String variableName)
public <T> T getValue(String name, Class<T> type)
getValue
in interface org.camunda.bpm.engine.variable.VariableMap
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getValueTyped(String name)
getValueTyped
in interface org.camunda.bpm.engine.variable.VariableMap
public org.camunda.bpm.engine.variable.VariableMap putValue(String name, Object value)
putValue
in interface org.camunda.bpm.engine.variable.VariableMap
public org.camunda.bpm.engine.variable.VariableMap putValueTyped(String name, org.camunda.bpm.engine.variable.value.TypedValue value)
putValueTyped
in interface org.camunda.bpm.engine.variable.VariableMap
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public org.camunda.bpm.engine.variable.context.VariableContext asVariableContext()
asVariableContext
in interface org.camunda.bpm.engine.variable.VariableMap
Copyright © 2022. All rights reserved.