Knowledge API Legacy5 Adapter 6.1.0.Beta1

org.drools.impl.adapters
Class NodeInstanceContainerAdapter

java.lang.Object
  extended by org.drools.impl.adapters.NodeInstanceContainerAdapter
All Implemented Interfaces:
NodeInstanceContainer

public class NodeInstanceContainerAdapter
extends Object
implements NodeInstanceContainer


Field Summary
 org.kie.api.runtime.process.NodeInstanceContainer delegate
           
 
Constructor Summary
NodeInstanceContainerAdapter(org.kie.api.runtime.process.NodeInstanceContainer delegate)
           
 
Method Summary
 org.kie.api.runtime.process.NodeInstanceContainer getDelegate()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

public org.kie.api.runtime.process.NodeInstanceContainer delegate
Constructor Detail

NodeInstanceContainerAdapter

public NodeInstanceContainerAdapter(org.kie.api.runtime.process.NodeInstanceContainer delegate)
Method Detail

getDelegate

public org.kie.api.runtime.process.NodeInstanceContainer getDelegate()

getNodeInstances

public Collection<NodeInstance> getNodeInstances()
Description copied from interface: NodeInstanceContainer
Returns all node instances that are currently active within this container.

Specified by:
getNodeInstances in interface NodeInstanceContainer
Returns:
the list of node instances currently active

getNodeInstance

public NodeInstance getNodeInstance(long nodeInstanceId)
Description copied from interface: NodeInstanceContainer
Returns the node instance with the given id, or null if the node instance cannot be found.

Specified by:
getNodeInstance in interface NodeInstanceContainer
Returns:
the node instance with the given id

Knowledge API Legacy5 Adapter 6.1.0.Beta1

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