com.hammurapi.flow.runtime
Interface ProcessingPathElement


public interface ProcessingPathElement

Contains information about processing in a single flow element (node or transition). Similar to StackTraceFrame.

Author:
Pavel Vlasov

Method Summary
 List<String> getFlowElementPath()
           
 URL getFlowUrl()
           
 Node<?,?,?,?> getNode()
           
 int getNodeIdx()
           
 String getPinName()
           
 String getProcessor()
           
 Transition<?,?> getTransition()
           
 int getTransitionIdx()
           
 boolean isInbound()
           
 

Method Detail

getFlowUrl

URL getFlowUrl()
Returns:
Location of flow definition.

getFlowElementPath

List<String> getFlowElementPath()
Returns:
Path to the flow element in the flow definition.

getProcessor

String getProcessor()
Returns:
Name of the processing node (e.g. JVM name) where this flow element was executed.

getNodeIdx

int getNodeIdx()
Returns:
Node index.

getTransitionIdx

int getTransitionIdx()
Returns:
Transition index.

getPinName

String getPinName()
Returns:
Pin name.

getNode

Node<?,?,?,?> getNode()
Returns:
Node.

getTransition

Transition<?,?> getTransition()
Returns:
Transition.

isInbound

boolean isInbound()
Returns:
True if the transition is incoming to the node.