Package org.kie.api.runtime.process

## Interface NodeInstanceContainer

- All Known Subinterfaces:
    `WorkflowProcessInstance`

      public interface NodeInstanceContainer

  A node instance container is a container that can contain (zero or more) node instances.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `NodeInstance` | `getNodeInstance​(long nodeInstanceId)` | Returns the node instance with the given id, or `null` if the node instance cannot be found.
    `java.util.Collection<NodeInstance>` | `getNodeInstances()` | Returns all node instances that are currently active within this container.

- - ### Method Detail

    - #### getNodeInstances

          java.util.Collection<NodeInstance> getNodeInstances()

      Returns all node instances that are currently active within this container.
      Returns:
        the list of node instances currently active

    - #### getNodeInstance

          NodeInstance getNodeInstance​(long 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