| Package | Description |
|---|---|
| brainslug.flow | |
| brainslug.flow.builder | |
| brainslug.flow.context | |
| brainslug.flow.expression | |
| brainslug.flow.node | |
| brainslug.flow.node.task | |
| brainslug.flow.path | |
| brainslug.util |
| 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 |
|---|---|
void |
FlowDefinition.addGoal(Identifier id,
PredicateDefinition predicate) |
void |
FlowBuilder.flowId(Identifier id) |
Option<PredicateDefinition> |
FlowDefinition.getGoalPredicate(Identifier goalId) |
FlowNodeDefinition<?> |
FlowDefinition.getNode(Identifier id) |
<T extends FlowNodeDefinition> |
FlowDefinition.getNode(Identifier id,
Class<T> clazz) |
FlowDefinition |
FlowDefinition.id(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
FlowBuilderSupport.id(Enum id) |
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
|
GoalDefinition |
FlowBuilderSupport.check(Identifier id,
PredicateDefinition goalPredicate) |
EventDefinition |
FlowBuilderSupport.event(Identifier id) |
GoalDefinition |
FlowBuilderSupport.goal(Identifier id)
create a goal definition with the given id.
|
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 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
|
Property |
FlowBuilderSupport.property(Identifier id) |
<T> 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.
|
TaskDefinition |
FlowBuilderSupport.task(Identifier id) |
TaskDefinition |
FlowBuilderSupport.task(Identifier id,
Task callee)
create a task definition with the given task to be executed
Example:
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
TriggerContext.getDefinitionId() |
Identifier |
TriggerContext.getInstanceId() |
Identifier |
TriggerContext.getNodeId() |
Identifier |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId)
start the flow at the given startNodeId
|
Identifier |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId,
ExecutionProperties properties)
start the flow at the given startNodeId
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ExecutionContext.property(Identifier key,
Class<T> clazz) |
Identifier |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId)
start the flow at the given startNodeId
|
Identifier |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId)
start the flow at the given startNodeId
|
Identifier |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId,
ExecutionProperties properties)
start the flow at the given startNodeId
|
Identifier |
BrainslugContext.startFlow(Identifier definitionId,
Identifier startNodeId,
ExecutionProperties properties)
start the flow at the given startNodeId
|
| Constructor and Description |
|---|
Property(Identifier expression) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
FlowNodeDefinition.getId() |
| Modifier and Type | Method and Description |
|---|---|
T |
FlowNodeDefinition.id(Identifier id) |
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
AbstractTaskDefinition.goalId |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
GoalDefinition.getId() |
| Modifier and Type | Method and Description |
|---|---|
Option<Identifier> |
AbstractTaskDefinition.getGoal() |
| Modifier and Type | Method and Description |
|---|---|
SelfType |
AbstractTaskDefinition.goal(Identifier goalId) |
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 © 2014. All rights reserved.