Knowledge API Legacy5 Adapter 6.2.0.Final

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
 boolean equals(Object obj)
           
 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.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Knowledge API Legacy5 Adapter 6.2.0.Final

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