Interface KogitoNodeInstanceContainer
- All Superinterfaces:
org.kie.api.runtime.process.NodeInstanceContainer
- All Known Subinterfaces:
KogitoWorkflowProcessInstance
public interface KogitoNodeInstanceContainer
extends org.kie.api.runtime.process.NodeInstanceContainer
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<KogitoNodeInstance>Returns all node instances that are currently active within this container.getKogitoNodeInstances(Predicate<KogitoNodeInstance> filter, boolean recursive) Return nodes that matches a filtergetNodeInstance(String nodeInstanceId) Returns the node instance with the given id, ornullif the node instance cannot be found.Methods inherited from interface org.kie.api.runtime.process.NodeInstanceContainer
getNodeInstance, getNodeInstances, getSerializableNodeInstances
-
Method Details
-
getKogitoNodeInstances
Returns all node instances that are currently active within this container.- Returns:
- the list of node instances currently active
-
getNodeInstance
Returns the node instance with the given id, ornullif the node instance cannot be found.- Parameters:
nodeInstanceId-- Returns:
- the node instance with the given id
-
getKogitoNodeInstances
Collection<KogitoNodeInstance> getKogitoNodeInstances(Predicate<KogitoNodeInstance> filter, boolean recursive) Return nodes that matches a filter- Parameters:
filter- condition to be fulfilled by noderecursive- if should process child nodes- Returns:
- nodes fullfilling the filter
-