# Uses of Interface
org.kie.api.runtime.process.NodeInstance

Packages that use NodeInstance
Package
Description
org.kie.api.event.process
Events emitted while process instances are executing.
org.kie.api.runtime.process
The process runtime classes.

- ## Uses of NodeInstance in org.kie.api.event.process

  Methods in org.kie.api.event.process that return NodeInstance
  Modifier and Type
  Method
  Description
  `NodeInstance`
  ProcessNodeEvent.`getNodeInstance()`
  The node instance this event is related to.
  `NodeInstance`
  SLAViolatedEvent.`getNodeInstance()`
  The node instance this event is related to.

- ## Uses of NodeInstance in org.kie.api.runtime.process

  Methods in org.kie.api.runtime.process that return NodeInstance
  Modifier and Type
  Method
  Description
  `NodeInstance`
  NodeInstanceContainer.`getNodeInstance(long nodeInstanceId)`
  Returns the node instance with the given id, or `null` if the node instance cannot be found.
  `NodeInstance`
  ProcessContext.`getNodeInstance()`
  Returns the node instance that is currently being executed in this context, or `null` if no node instance is currently being executed.
  Methods in org.kie.api.runtime.process that return types with arguments of type NodeInstance
  Modifier and Type
  Method
  Description
  `Collection<NodeInstance>`
  NodeInstanceContainer.`getNodeInstances()`
  Returns all node instances that are currently active within this container.
  `default Collection<NodeInstance>`
  NodeInstanceContainer.`getSerializableNodeInstances()`
  Returns all node instances that are currently active within this container and are serializable