public class DefaultNodeExecutor<SelfType,T extends FlowNodeDefinition> extends Object implements FlowNodeExecutor<T>
| Modifier and Type | Field and Description |
|---|---|
protected TokenOperations |
tokenOperations |
| Constructor and Description |
|---|
DefaultNodeExecutor() |
| Modifier and Type | Method and Description |
|---|---|
FlowNodeExecutionResult |
execute(T node,
ExecutionContext execution) |
protected void |
removeIncomingTokens(TriggerContext trigger) |
protected FlowNodeExecutionResult |
takeAll(FlowNodeDefinition<?> node) |
protected FlowNodeExecutionResult |
takeNone() |
SelfType |
withTokenOperations(TokenOperations tokenOperations) |
protected TokenOperations tokenOperations
public SelfType withTokenOperations(TokenOperations tokenOperations)
public FlowNodeExecutionResult execute(T node, ExecutionContext execution)
execute in interface FlowNodeExecutor<T extends FlowNodeDefinition>protected void removeIncomingTokens(TriggerContext trigger)
protected FlowNodeExecutionResult takeAll(FlowNodeDefinition<?> node)
protected FlowNodeExecutionResult takeNone()
Copyright © 2015. All rights reserved.