public class ProcessVariableLocalMap extends Object
BusinessProcess.setVariableLocal(String, Object)
and
BusinessProcess.getVariableLocal(String)
, so that they are not flushed
prematurely.Modifier and Type | Field and Description |
---|---|
protected BusinessProcess |
businessProcess |
Constructor and Description |
---|
ProcessVariableLocalMap() |
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() |
@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 © 2019. All rights reserved.