Class FlowchartElementIndex
java.lang.Object
de.xima.fc.workflow.processor.logic.FlowchartElementIndex
- All Implemented Interfaces:
Serializable
An index of the nodes and triggers in a workflow process.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowchartElementIndex(ProcessModel processModel) Creates a new index for the given process. -
Method Summary
Modifier and TypeMethodDescriptiongetNodeByUuid(ElementKey key) getNodeByUuid(NodeKey key) getNodeByUuid(UUID taskUuid, UUID nodeUuid) getNodes()getNodesByType(String type) getTaskByUuid(UUID uuid) getTasks()getTriggerByUuid(UUID taskUuid, UUID triggerUuid) getTriggersByType(String type)
-
Constructor Details
-
FlowchartElementIndex
Creates a new index for the given process.- Parameters:
processModel- Process model to index.
-
-
Method Details
-
getNodeByUuid
- Returns:
- Map with all nodes, indexed by node key.
-
getNodeByUuid
- Parameters:
key- Key of the node to fetch.- Returns:
- The node with the given key in the process model.
nullwhen no such node exists.
-
getNodeByUuid
- Parameters:
key- Key of the node to fetch.- Returns:
- The node with the given key in the process model.
nullwhen no such node exists.
-
getNodeByUuid
- Parameters:
taskUuid- UUID of the task of the node to fetch.nodeUuid- UUID of the node to fetch.- Returns:
- The node with the given UUID in the process model.
nullwhen no such node exists.
-
getNodes
- Returns:
- Keys of all available nodes.
-
getNodesByType
-
getTriggerByUuid
- Returns:
- Map with all triggers, indexed by trigger key.
-
getTriggerByUuid
- Parameters:
key- Key of the trigger to fetch.- Returns:
- The trigger with the given key in the process model.
nullwhen no such trigger exists.
-
getTriggerByUuid
- Parameters:
key- Key of the trigger to fetch.- Returns:
- The trigger with the given key in the process model.
nullwhen no such trigger exists.
-
getTriggerByUuid
- Parameters:
taskUuid- UUID of the task of the trigger to fetch.triggerUuid- UUID of the trigger to fetch.- Returns:
- The trigger with the given UUID in the process model.
nullwhen no such trigger exists.
-
getTriggers
- Returns:
- Keys of all available triggers.
-
getTriggersByType
-
getTasksByUuid
-
getTaskByUuid
-
getTasks
-