org.jbpm.workflow.instance.node
Class RuleSetNodeInstance

java.lang.Object
  extended by org.jbpm.workflow.instance.impl.NodeInstanceImpl
      extended by org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
          extended by org.jbpm.workflow.instance.node.StateBasedNodeInstance
              extended by org.jbpm.workflow.instance.node.RuleSetNodeInstance
All Implemented Interfaces:
Serializable, EventListener, NodeInstance, EventBasedNodeInstanceInterface

public class RuleSetNodeInstance
extends StateBasedNodeInstance
implements EventListener

Runtime counterpart of a ruleset node.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
NodeInstanceImpl.NodeInstanceTrigger
 
Field Summary
 
Fields inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
PARAMETER_MATCHER
 
Constructor Summary
RuleSetNodeInstance()
           
 
Method Summary
 void addEventListeners()
           
 void cancel()
           
protected  RuleSetNode getRuleSetNode()
           
 void internalTrigger(NodeInstance from, String type)
           
 void removeEventListeners()
           
 void signalEvent(String type, Object event)
          Signals that an event has occurred.
 
Methods inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
addTimerListener, checkProcessInstance, createTimerInstance, getEventBasedNode, getEventTypes, getTimerInstances, internalSetTimerInstances, triggerCompleted, triggerCompleted
 
Methods inherited from class org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
executeAction, getExtendedNode, triggerCompleted, triggerEvent
 
Methods inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
followConnection, getId, getMetaData, getNode, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getUniqueId, getVariable, isInversionOfControl, resolveContext, resolveContextInstance, setId, setMetaData, setNodeId, setNodeInstanceContainer, setProcessInstance, setVariable, trigger, triggerConnection, triggerNodeInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.runtime.process.EventListener
getEventTypes
 

Constructor Detail

RuleSetNodeInstance

public RuleSetNodeInstance()
Method Detail

getRuleSetNode

protected RuleSetNode getRuleSetNode()

internalTrigger

public void internalTrigger(NodeInstance from,
                            String type)
Overrides:
internalTrigger in class StateBasedNodeInstance

addEventListeners

public void addEventListeners()
Specified by:
addEventListeners in interface EventBasedNodeInstanceInterface
Overrides:
addEventListeners in class StateBasedNodeInstance

removeEventListeners

public void removeEventListeners()
Specified by:
removeEventListeners in interface EventBasedNodeInstanceInterface
Overrides:
removeEventListeners in class StateBasedNodeInstance

cancel

public void cancel()
Overrides:
cancel in class StateBasedNodeInstance

signalEvent

public void signalEvent(String type,
                        Object event)
Description copied from interface: EventListener
Signals that an event has occurred. The type parameter defines which type of event and the event parameter can contain additional information related to the event.

Specified by:
signalEvent in interface EventListener
Overrides:
signalEvent in class StateBasedNodeInstance
Parameters:
type - the type of event
event - the data associated with this event


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