Package de.xima.fc.plugin.workflow
Class TreeAccessorWorkflowNode
- java.lang.Object
-
- de.xima.fc.plugin.workflow.TreeAccessorWorkflowNode
-
- All Implemented Interfaces:
ITreeAccessor<WorkflowNode,UUID>
,ITreeParentAccessor<WorkflowNode,UUID>
,ITreeAccessor<WorkflowNode,UUID>
,ITreeParentAccessor<WorkflowNode,UUID>
- Direct Known Subclasses:
TreeAccessorWithDataWorkflowNode
@Deprecated public class TreeAccessorWorkflowNode extends Object implements ITreeAccessor<WorkflowNode,UUID>, ITreeParentAccessor<WorkflowNode,UUID>
Deprecated.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()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<WorkflowNode>
getChildren(WorkflowNode node)
Deprecated.Gets the children of the given node.UUID
getId(WorkflowNode node)
Deprecated.Gets the ID of the given node.WorkflowNode
getParent(WorkflowNode node)
Deprecated.
-
-
-
Method Detail
-
getChildren
public List<WorkflowNode> getChildren(WorkflowNode node)
Deprecated.Description copied from interface:ITreeAccessor
Gets the children of the given node. It is generally recommended to return a list of nodes for fast random access, but implementations must be compatible with general iterables.- Specified by:
getChildren
in interfaceITreeAccessor<WorkflowNode,UUID>
- 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)
Deprecated.Description copied from interface:ITreeAccessor
Gets the ID of the given node. The ID must be unique within the tree, but it is not required to be unique across different trees.- Specified by:
getId
in interfaceITreeAccessor<WorkflowNode,UUID>
- Specified by:
getId
in interfaceITreeAccessor<WorkflowNode,UUID>
- Specified by:
getId
in interfaceITreeParentAccessor<WorkflowNode,UUID>
- Specified by:
getId
in interfaceITreeParentAccessor<WorkflowNode,UUID>
- Parameters:
node
- A node for which to retrieve its ID.- Returns:
- The (unique) identifier of the given tree node.
-
getParent
public WorkflowNode getParent(WorkflowNode node)
Deprecated.- Specified by:
getParent
in interfaceITreeParentAccessor<WorkflowNode,UUID>
- Specified by:
getParent
in interfaceITreeParentAccessor<WorkflowNode,UUID>
- Parameters:
node
- The node for which to get the parent.- Returns:
- Parent of the node,
null
if it is a root node.
-
-