Interface IFlowGraphEdgeData
-
- All Superinterfaces:
Serializable
public interface IFlowGraphEdgeData extends Serializable
Data associated with an edge of a flow graph, seeITaskFlowAnalysis#getFlowGraph
andINodeHandler#createFlowGraph
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<NodeKey>
getOwners()
The nodes which own this edge, if any.long
getType()
The type of this edge, i.e.
-
-
-
Method Detail
-
getType
long getType()
The type of this edge, i.e. the circumstances when flow is transferred from the source to the target node. SeeFlowGraphConnectionType
for a list of types and their exact definition. The value returned by this method may be a bitwise-or combination of multiple flags fromFlowGraphConnectionType
.- Returns:
- Bit flags with the type of this edge.
- See Also:
, which also includes several methods for querying the edge type.
-
getOwners
@Nonnull Set<NodeKey> getOwners()
The nodes which own this edge, if any. The owner of an edge is the node which was responsible for adding the edge to the flow graph. For example: a sequence node adds edges between consecutive children; or a while-loop node adds an edge to the loop body, and an edge from the end of the loop boddy back to the beginning of the loop body.- Returns:
- A set of all owners of this edge, never
null
but may be empty.
-
-