org.drools.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
 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 Detail

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


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.