class ExecutionContext extends java.lang.Object
Provides execution context and value bindings to graph nodes. Each node's context (see ofNode()) provides methods for saving its own values and bindings for accessing values saved by ancestor nodes. These contexts can be used during graph stack evaluation to safely pass values from ancestor nodes to descendent nodes, and to keep nodes from different branches of execution to access each other's values.
Modifiers | Name | Description |
---|---|---|
class |
ExecutionContext.AncestorNotFoundException |
|
class |
ExecutionContext.InsufficientInputException |
|
class |
ExecutionContext.NameAlreadyBoundException |
|
class |
ExecutionContext.NameNotFoundException |
|
class |
ExecutionContext.NodeContext |
Provides an execution context for a single given node that can resolve bindings for values stored by ancestor nodes, set its own values, and safely interpolate user-provided strings. |
Constructor and description |
---|
ExecutionContext
(java.lang.Object executionGraph) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List |
getAllKeys() Returns the names of all values bound by node contexts. |
|
ExecutionContext.NodeContext |
ofNode(java.lang.Object node) Create and return an execution context for the given node. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns the names of all values bound by node contexts.
Create and return an execution context for the given node.