| Modifier and Type | Method and Description |
|---|---|
Token |
GraphEngine.addToken(GraphInstance instance,
Node node,
Token parent)
Adds a new, active token to the given instance pointing to the given node
with the given parent.
|
Token |
GraphInstance.getFirstFromExecutionQueue()
A
GraphInstance keeps a queue of tokens for which the engine
should attempt to proceed execution. |
Token |
Token.getParent()
Returns the parent token which was involved in creating this token.
|
Token |
GraphWorkItem.getToken() |
| Modifier and Type | Method and Description |
|---|---|
List<Token> |
GraphInstance.getActiveChildTokens(Token parent)
Tokens are created with a tree-like parent-child relation-ship. |
List<Token> |
GraphInstance.getActiveTokens() |
List<Token> |
GraphInstance.getTokens() |
| Modifier and Type | Method and Description |
|---|---|
GraphWorkItem |
GraphEngine.addHumanTaskItem(GraphInstance instance,
Token token,
String role,
String user,
Map<String,Object> arguments)
Adds a new
HumanTaskItem to the given instance which is
associated to the given token. |
GraphWorkItem |
GraphEngine.addSignalItem(GraphInstance instance,
Token token,
String signal)
Adds a new
SignalItem to the given instance which is associated
to the given token. |
GraphWorkItem |
GraphEngine.addTaskItem(GraphInstance instance,
Token token,
String bean,
String method,
Object[] arguments)
Adds a new
TaskItem to the given instance which is associated to
the given token. |
GraphWorkItem |
GraphEngine.addTimerItem(GraphInstance instance,
Token token,
Date dueDate)
Adds a new
TimerItem to the given instance which is associated to
the given token. |
void |
GraphInstance.addToExecutionQueue(Token token)
Adds a token to the execution queue.
|
Token |
GraphEngine.addToken(GraphInstance instance,
Node node,
Token parent)
Adds a new, active token to the given instance pointing to the given node
with the given parent.
|
void |
GraphInstance.addToken(Token token)
Adds a token to the graph instance.
|
void |
Node.cancel(GraphEngine engine,
Token token)
Called when the
GraphEngine cancels the execution of a
Token, that is currently pointing to this node and is in a wait
state. |
void |
GraphEngine.cancel(Token token)
Cancels the given token.
|
void |
GraphEngine.cancelWorkItem(Token token)
If existent, cancels the active work item associated with the given
token.
|
void |
GraphEngine.complete(Token token,
Object result)
A shorthand for
GraphEngine.complete(Token, Object, String) using a the
default transition name Transition.DEFAULT_TRANSITION_NAME. |
void |
GraphEngine.complete(Token token,
Object result,
String transitionName)
|
void |
Node.execute(GraphEngine engine,
Token token)
Performs node specific logic.
|
List<Token> |
GraphInstance.getActiveChildTokens(Token parent)
Tokens are created with a tree-like parent-child relation-ship. |
GraphWorkItem |
GraphInstance.getActiveWorkItem(Token token)
A token can be associated with 0 or 1 active work items.
|
void |
NodeEventListener.onEntering(Token token,
Node node)
Called before a token enters a node, i.e.
|
void |
NodeEventListener.onLeft(Token token,
Node node)
Called after a token left a node, i.e.
|
void |
GraphEngine.terminate(Token token)
Marks the given token and all direct parent tokens active that do not
have any further active child tokens.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TokenImpl |
| Modifier and Type | Method and Description |
|---|---|
Token |
GraphInstanceImpl.getFirstFromExecutionQueue() |
Token |
TokenImpl.getParent() |
Token |
GraphWorkItemImpl.getToken() |
| Modifier and Type | Method and Description |
|---|---|
List<Token> |
GraphInstanceImpl.getActiveChildTokens(Token parent) |
List<Token> |
GraphInstanceImpl.getActiveTokens() |
List<Token> |
GraphInstanceImpl.getTokens() |
| Modifier and Type | Method and Description |
|---|---|
GraphWorkItem |
GraphEngineImpl.addHumanTaskItem(GraphInstance instance,
Token token,
String role,
String user,
Map<String,Object> arguments) |
GraphWorkItem |
GraphEngineImpl.addSignalItem(GraphInstance instance,
Token token,
String signal) |
GraphWorkItem |
GraphEngineImpl.addTaskItem(GraphInstance instance,
Token token,
String bean,
String method,
Object[] arguments) |
GraphWorkItem |
GraphEngineImpl.addTimerItem(GraphInstance instance,
Token token,
Date dueDate) |
void |
GraphInstanceImpl.addToExecutionQueue(Token token) |
TokenImpl |
GraphEngineImpl.addToken(GraphInstance instance,
Node node,
Token parent) |
void |
GraphInstanceImpl.addToken(Token token) |
void |
GraphEngineImpl.cancel(Token token) |
void |
GraphEngineImpl.cancelWorkItem(Token token) |
void |
GraphEngineImpl.complete(Token token,
Object result) |
void |
GraphEngineImpl.complete(Token token,
Object result,
String transitionName) |
static GraphWorkItemImpl |
GraphWorkItemImpl.createHumanTaskItem(Token token,
String role,
String user,
Map<String,Object> arguments) |
static GraphWorkItemImpl |
GraphWorkItemImpl.createSignalItem(Token token,
String signal) |
static GraphWorkItemImpl |
GraphWorkItemImpl.createTaskItem(Token token,
String bean,
String method,
Object[] arguments) |
static GraphWorkItemImpl |
GraphWorkItemImpl.createTimerItem(Token token,
Date dueDate) |
void |
EventNotifier.fireEntering(Token token,
Node node) |
void |
EventNotifier.fireLeft(Token token,
Node node) |
List<Token> |
GraphInstanceImpl.getActiveChildTokens(Token parent) |
GraphWorkItem |
GraphInstanceImpl.getActiveWorkItem(Token token) |
void |
TokenImpl.setParent(Token parent) |
void |
GraphWorkItemImpl.setToken(Token token) |
void |
GraphEngineImpl.terminate(Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphInstanceImpl.setTokens(List<Token> tokens) |
| Modifier and Type | Method and Description |
|---|---|
void |
ValidateAttributeActivity.cancel(GraphEngine engine,
Token token) |
void |
SetAttributeActivity.cancel(GraphEngine engine,
Token token) |
void |
ScriptActivity.cancel(GraphEngine engine,
Token token) |
void |
ObjectCallActivity.cancel(GraphEngine engine,
Token token) |
void |
HumanTaskActivity.cancel(GraphEngine engine,
Token token) |
void |
CreateNewInstanceActivity.cancel(GraphEngine engine,
Token token) |
void |
BeanCallActivity.cancel(GraphEngine engine,
Token token) |
void |
BeanAsyncCallActivity.cancel(GraphEngine engine,
Token token) |
void |
ValidateAttributeActivity.execute(GraphEngine engine,
Token token) |
void |
SetAttributeActivity.execute(GraphEngine engine,
Token token) |
void |
ScriptActivity.execute(GraphEngine engine,
Token token) |
void |
ObjectCallActivity.execute(GraphEngine engine,
Token token) |
void |
HumanTaskActivity.execute(GraphEngine engine,
Token token) |
void |
CreateNewInstanceActivity.execute(GraphEngine engine,
Token token) |
void |
BeanCallActivity.execute(GraphEngine engine,
Token token) |
void |
BeanAsyncCallActivity.execute(GraphEngine engine,
Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThrowEscalation.cancel(GraphEngine engine,
Token token) |
void |
CatchTimer.cancel(GraphEngine engine,
Token token) |
void |
CatchSignal.cancel(GraphEngine engine,
Token token) |
void |
ThrowEscalation.execute(GraphEngine engine,
Token token) |
void |
CatchTimer.execute(GraphEngine engine,
Token token) |
void |
CatchSignal.execute(GraphEngine engine,
Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
XorJoin.cancel(GraphEngine engine,
Token token) |
void |
XorFork.cancel(GraphEngine engine,
Token token) |
void |
OrFork.cancel(GraphEngine engine,
Token token) |
void |
CancellingDiscriminator.cancel(GraphEngine engine,
Token token) |
void |
AndJoin.cancel(GraphEngine engine,
Token token) |
void |
AndFork.cancel(GraphEngine engine,
Token token) |
void |
XorJoin.execute(GraphEngine engine,
Token token) |
void |
XorFork.execute(GraphEngine engine,
Token token) |
void |
OrFork.execute(GraphEngine engine,
Token token) |
void |
CancellingDiscriminator.execute(GraphEngine engine,
Token token) |
void |
AndJoin.execute(GraphEngine engine,
Token token) |
void |
AndFork.execute(GraphEngine engine,
Token token) |
Copyright © 2018. All rights reserved.