org.drools.impl.adapters
Class NodeInstanceContainerAdapter
java.lang.Object
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
|
delegate
public org.kie.api.runtime.process.NodeInstanceContainer delegate
NodeInstanceContainerAdapter
public NodeInstanceContainerAdapter(org.kie.api.runtime.process.NodeInstanceContainer delegate)
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
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.