| Modifier and Type | Method and Description |
|---|---|
static Identifier |
FlowBuilderSupport.id() |
static Identifier |
FlowBuilderSupport.id(Enum id) |
static Identifier |
FlowBuilderSupport.id(String id) |
| Modifier and Type | Method and Description |
|---|---|
FlowPathDefinition |
FlowBuilderSupport.after(Identifier id)
create a flow path for execution after of the node id
|
static EventDefinition |
FlowBuilderSupport.event(Identifier id) |
void |
FlowBuilder.flowId(Identifier id) |
static GoalDefinition |
FlowBuilderSupport.goal(Identifier id)
create a goal definition with the given id.
|
FlowPathDefinition |
FlowBuilderSupport.join(Identifier joinId,
FlowNodeDefinition<?>... flowNodeDefinitions) |
FlowPathDefinition |
FlowBuilderSupport.join(Identifier joinId,
Identifier... ids)
create a flow path joining the execution after the given nodes
by introducing a new merge join to which the nodes connect.
|
FlowPathDefinition |
FlowBuilderSupport.join(Identifier joinId,
Identifier... ids)
create a flow path joining the execution after the given nodes
by introducing a new merge join to which the nodes connect.
|
FlowPathDefinition |
FlowBuilderSupport.merge(Identifier id,
FlowNodeDefinition<?>... nodeDefinitions) |
FlowPathDefinition |
FlowBuilderSupport.merge(Identifier mergeId,
Identifier... ids)
create a flow path merging the execution after the given nodes
by introducing a new merge node to which the nodes connect.
|
FlowPathDefinition |
FlowBuilderSupport.merge(Identifier mergeId,
Identifier... ids)
create a flow path merging the execution after the given nodes
by introducing a new merge node to which the nodes connect.
|
FlowPathDefinition |
FlowBuilderSupport.on(Identifier id)
create a flow path for execution after of the given event id
|
static Property<?> |
FlowBuilderSupport.property(Identifier id) |
static <T> Property<T> |
FlowBuilderSupport.property(Identifier id,
Class<T> clazz) |
FlowPathDefinition |
FlowBuilderSupport.start(Identifier startId)
create a start event with the given id.
|
FlowPathDefinition |
FlowBuilderSupport.start(Identifier id,
AbstractTaskDefinition task,
StartTimerDefinition startTimerDefinition) |
FlowPathDefinition |
FlowBuilderSupport.start(Identifier startId,
StartTimerDefinition startTimerDefinition)
create a start event with the given id,
which will be started every interval with
the duration given in the timer definition.
|
static TaskDefinition |
FlowBuilderSupport.task(Identifier id) |
static TaskDefinition |
FlowBuilderSupport.task(Identifier id,
Task callee)
create a task definition with the given task to be executed
Example:
|
<T> T |
FlowBuilderSupport.value(Identifier id,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
TriggerContext.getDefinitionId() |
Identifier |
TriggerContext.getInstanceId() |
Identifier |
TriggerContext.getNodeId() |
| Modifier and Type | Method and Description |
|---|---|
FlowDefinition |
BrainslugContext.getDefinitionById(Identifier flowId) |
<T> T |
ExecutionContext.property(Identifier key,
Class<T> clazz) |
void |
BrainslugContext.signalEvent(Identifier eventId,
Identifier instanceId,
Identifier definitionId)
send a signaling trigger to the specified event
|
void |
BrainslugContext.signalEvent(Identifier eventId,
Identifier instanceId,
Identifier definitionId)
send a signaling trigger to the specified event
|
void |
BrainslugContext.signalEvent(Identifier eventId,
Identifier instanceId,
Identifier definitionId)
send a signaling trigger to the specified event
|
FlowInstance |
BrainslugContext.startFlow(Identifier definitionId)
start the flow at the given startNodeId
|
FlowInstance |
BrainslugContext.startFlow(Identifier definitionId,
FlowInstanceProperties properties)
start the flow at the given startNodeId
|
FlowInstance |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId)
start the flow at the given startNodeId
|
FlowInstance |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId)
start the flow at the given startNodeId
|
FlowInstance |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId,
FlowInstanceProperties properties)
start the flow at the given startNodeId
|
FlowInstance |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId,
FlowInstanceProperties properties)
start the flow at the given startNodeId
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnumIdentifier |
class |
StringIdentifier |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
FlowDefinition.getId() |
| Modifier and Type | Method and Description |
|---|---|
FlowDefinition |
DefinitionStore.findById(Identifier id) |
FlowDefinition |
HashMapDefinitionStore.findById(Identifier id) |
FlowNodeDefinition<?> |
FlowDefinition.getNode(Identifier id) |
<T extends FlowNodeDefinition> |
FlowDefinition.getNode(Identifier id,
Class<T> clazz) |
FlowDefinition |
FlowDefinition.id(Identifier id) |
| Constructor and Description |
|---|
Property(Identifier expression) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
FlowInstance.getDefinitionId() |
Identifier |
FlowInstanceToken.getId() |
Identifier |
FlowInstance.getIdentifier() |
Identifier |
FlowInstanceToken.getInstanceId() |
Identifier |
FlowInstanceToken.getNodeId() |
| Modifier and Type | Method and Description |
|---|---|
Option<Identifier> |
FlowInstanceSelector.definitionId() |
Option<Identifier> |
FlowInstanceToken.getSourceNodeId() |
Option<Identifier> |
FlowInstanceSelector.instanceId() |
| Modifier and Type | Method and Description |
|---|---|
List<FlowInstanceToken> |
FlowInstanceTokenList.getNodeTokens(Identifier nodeId) |
SelfType |
FlowInstanceProperties.with(Identifier key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
FlowNodeDefinition.getId() |
| Modifier and Type | Method and Description |
|---|---|
T |
FlowNodeDefinition.id(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
GoalDefinition.getId() |
| Modifier and Type | Method and Description |
|---|---|
GoalDefinition |
GoalDefinition.id(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
ChoiceDefinition |
FlowPathDefinition.choice(Identifier id) |
Self |
FlowPathDefinition.end(Identifier endId) |
AndDefinition |
FlowPathDefinition.parallel(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
static Identifier |
IdUtil.id(Enum idValue) |
static Identifier |
IdUtil.id(String idValue) |
Copyright © 2015. All rights reserved.