public class FlowContext extends Object
| Constructor and Description |
|---|
FlowContext() |
FlowContext(Progress progress) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
emptyStack() |
<T> T |
get(String key) |
Set<String> |
keys() |
<T> T |
pop()
Removes the object at the top of the context stack and returns that object.
|
<T> void |
push(T value)
Pushes the value om top of the context stack.
|
<T> void |
set(String key,
T value)
Stores the value under the given key in the context map.
|
String |
toString() |
public FlowContext()
public FlowContext(Progress progress)
public <T> void push(T value)
public <T> T pop()
public boolean emptyStack()
true if the context stack is empty, false otherwise.public <T> void set(String key, T value)
public <T> T get(String key)
null if no such key was found.public Set<String> keys()
null if no such key was found.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.