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

  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.
  `Collection<NodeInstance>`
  `getNodeInstances()`
  Returns all node instances that are currently active within this container.

- ## Method Details

  - ### getNodeInstances

    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