public class FlowBuilderSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowDefinition |
definition |
| Constructor and Description |
|---|
FlowBuilderSupport(FlowDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
FlowPathDefinition |
after(Identifier id) |
<T> PredicateBuilder<Expression> |
constant(T expression) |
EventDefinition |
event(Identifier id) |
<T> PredicateBuilder<Expression> |
expression(T expression) |
Identifier |
id(Enum id) |
Identifier |
id(String id) |
FlowPathDefinition |
join(Identifier joinId,
Identifier... ids)
TODO: think about a better argument list here, its pretty confusing
and easy to forget the join ids
|
FlowPathDefinition |
merge(Identifier mergeId,
Identifier... ids) |
FlowPathDefinition |
on(Identifier id) |
<T extends Identifier> |
property(T expression) |
PredicateBuilder<CallDefinition> |
resultOf(CallDefinition methodCall) |
HandlerCallDefinition |
run(Object callee) |
ServiceCallDefinition |
service(Class<?> clazz) |
FlowPathDefinition |
start(AbstractTaskDefinition task) |
FlowPathDefinition |
start(EventDefinition event) |
TaskDefinition |
task(Identifier id) |
TaskDefinition |
task(Identifier id,
Task callee) |
protected FlowDefinition definition
public FlowBuilderSupport(FlowDefinition definition)
public Identifier id(Enum id)
public Identifier id(String id)
public FlowPathDefinition start(EventDefinition event)
public FlowPathDefinition start(AbstractTaskDefinition task)
public FlowPathDefinition after(Identifier id)
public FlowPathDefinition on(Identifier id)
public FlowPathDefinition merge(Identifier mergeId, Identifier... ids)
public FlowPathDefinition join(Identifier joinId, Identifier... ids)
joinId - ids - public TaskDefinition task(Identifier id)
public TaskDefinition task(Identifier id, Task callee)
public EventDefinition event(Identifier id)
public <T> PredicateBuilder<Expression> expression(T expression)
public <T> PredicateBuilder<Expression> constant(T expression)
public <T extends Identifier> PredicateBuilder<Property> property(T expression)
public ServiceCallDefinition service(Class<?> clazz)
public HandlerCallDefinition run(Object callee)
public PredicateBuilder<CallDefinition> resultOf(CallDefinition methodCall)
Copyright © 2014. All rights reserved.