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 Details

    • getKogitoNodeInstances

      default Collection<KogitoNodeInstance> getKogitoNodeInstances()
      Returns all node instances that are currently active within this container.
      Returns:
      the list of node instances currently active
    • getNodeInstance

      KogitoNodeInstance getNodeInstance(String nodeInstanceId)
      Returns the node instance with the given id, or null if 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 node
      recursive - if should process child nodes
      Returns:
      nodes fullfilling the filter