|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
N - Node type.T - Transition type.P - Pin configuration type.K - Connect key type.S - Flow state type.A - Argument type.public interface Flow<N extends Node<P,K,S,A>,T extends Transition<S,A>,P,K,S,A>
Flows shall implement this interface.
| Method Summary | |
|---|---|
void |
connect(int nodeIdx,
String pinName,
int transitionIdx,
boolean isInbound,
K connectKey)
Connects contents of the flow (internal nodes). |
Object |
getFacade()
|
void |
setBackEnd(Object object)
Sets back-end object (optional operation). |
void |
setFacadeInterface(Class<?> facadeInterface)
Configuration runtime injects facade interface class into flow using this method. |
void |
setNodes(List<N> nodes)
Configuration runtime injects node instances into flow using this method. |
void |
setTransitions(List<T> transitions)
Configuration runtime injects transition instances into flow using this method. |
| Methods inherited from interface com.hammurapi.flow.runtime.Node |
|---|
addPin, getInvocable, getInvoker |
| Methods inherited from interface com.hammurapi.flow.runtime.FlowElement |
|---|
afterConnect, beforeConnect |
| Method Detail |
|---|
void setNodes(List<N> nodes)
throws ConfigurationException
nodes - Nodes.
ConfigurationException
void setTransitions(List<T> transitions)
throws ConfigurationException
transitions -
ConfigurationExceptionvoid setFacadeInterface(Class<?> facadeInterface)
facadeInterface - Object getFacade()
void connect(int nodeIdx,
String pinName,
int transitionIdx,
boolean isInbound,
K connectKey)
throws ConfigurationException
nodeIdx - Node index. The flow itself has index -1.pinName - Pin name.transitionIdx - Transition index.isInbound - True if transition is directed to the pin, false otherwise.connectKey - Connect key.
ConfigurationExceptionvoid setBackEnd(Object object)
object -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||