Package de.xima.fc.plugin.workflow
Class TreeAccessorWorkflowNode
- java.lang.Object
-
- de.xima.fc.plugin.workflow.TreeAccessorWorkflowNode
-
- All Implemented Interfaces:
ITreeAccessor<WorkflowNode,UUID>
- Direct Known Subclasses:
TreeAccessorWithDataWorkflowNode
public class TreeAccessorWorkflowNode extends Object implements ITreeAccessor<WorkflowNode,UUID>
AITreeAccessor
for treatingWorkflowNode
s as a tree, so that they can be used with the execution analyzer.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description TreeAccessorWorkflowNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WorkflowNode>
getChildren(WorkflowNode node)
UUID
getId(WorkflowNode node)
-
-
-
Method Detail
-
getChildren
public List<WorkflowNode> getChildren(WorkflowNode node)
- Specified by:
getChildren
in interfaceITreeAccessor<WorkflowNode,UUID>
- Parameters:
node
- The node for which to get the children.- Returns:
- A list of all children of the given tree node, empty array if it is a leaf node.
-
getId
public UUID getId(WorkflowNode node)
- Specified by:
getId
in interfaceITreeAccessor<WorkflowNode,UUID>
- Parameters:
node
- A node for which to retrieve its ID.- Returns:
- The (unique) identifier of the given tree node.
-
-