public interface ExecutionContext extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Serializable |
get(String key)
Returns an serializable object stored within this process context using
key. |
String |
getProcessInstanceId()
Returns the identifier of underlying process instance.
|
Set<String> |
keySet()
Returns an unmodifiable set containing the stored keys.
|
void |
put(String key,
Serializable object)
Stores a serializable object using
key. |
Serializable |
remove(String key)
Removes the object stored using
key. |
void |
setProcessInstanceId(String processInstanceId)
Sets the identifier of underlying process instance.
|
String getProcessInstanceId()
void setProcessInstanceId(String processInstanceId)
processInstanceId - The identifier of the process instance.void put(String key, Serializable object)
key.key - The key under that the object should be stored.object - The object to be stored.Serializable get(String key)
key.key - The key that has been used to store the serializable object (may be null).null in case the key does not relate to a stored object or the stored object itself
was null.Serializable remove(String key)
key.key - The key that has been used to store the serializable object (may be null).null there was no object stored using key.Copyright © 2017. All rights reserved.