public class DefaultNodeExecutor<T extends FlowNodeDefinition> extends Object implements FlowNodeExectuor<T>, TokenStoreAware
| Modifier and Type | Field and Description |
|---|---|
protected TokenStore |
tokenStore |
| Constructor and Description |
|---|
DefaultNodeExecutor() |
| Modifier and Type | Method and Description |
|---|---|
List<FlowNodeDefinition> |
execute(T node,
ExecutionContext execution) |
protected void |
removeTokens(ExecutionContext execution,
List<Token> tokens) |
protected void |
removeTriggerToken(ExecutionContext execution) |
void |
setTokenStore(TokenStore tokenStore) |
protected List<FlowNodeDefinition> |
takeAll(FlowNodeDefinition<?> node) |
protected List<FlowNodeDefinition> |
takeNone() |
protected TokenStore tokenStore
public List<FlowNodeDefinition> execute(T node, ExecutionContext execution)
execute in interface FlowNodeExectuor<T extends FlowNodeDefinition>protected void removeTriggerToken(ExecutionContext execution)
protected void removeTokens(ExecutionContext execution, List<Token> tokens)
protected List<FlowNodeDefinition> takeAll(FlowNodeDefinition<?> node)
protected List<FlowNodeDefinition> takeNone()
public void setTokenStore(TokenStore tokenStore)
setTokenStore in interface TokenStoreAwareCopyright © 2014. All rights reserved.