org.jbpm.workflow.instance.node

## Class RuleSetNodeInstance

- java.lang.Object
- - org.jbpm.workflow.instance.impl.NodeInstanceImpl
  - - org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
    - - org.jbpm.workflow.instance.node.StateBasedNodeInstance
      - - org.jbpm.workflow.instance.node.RuleSetNodeInstance

- All Implemented Interfaces:
    Serializable, EventBasedNodeInstanceInterface, org.kie.api.runtime.process.EventListener, org.kie.api.runtime.process.NodeInstance

      public class RuleSetNodeInstance
      extends StateBasedNodeInstance
      implements org.kie.api.runtime.process.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`

    - ### Fields inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl

      `dynamicParameters`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RuleSetNodeInstance()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `actAsWaitState()`
    `void` | `addEventListeners()`
    `void` | `cancel()`
    `protected Map<String,Object>` | `evaluateParameters(RuleSetNode ruleSetNode)`
    `Map<String,org.kie.api.runtime.rule.FactHandle>` | `getFactHandles()`
    `String` | `getRuleFlowGroup()`
    `protected RuleSetNode` | `getRuleSetNode()`
    `protected Map<String,Object>` | `getSourceParameters(DataAssociation association)`
    `void` | `internalTrigger(org.kie.api.runtime.process.NodeInstance from, String type)`
    `void` | `removeEventListeners()`
    `void` | `retractFacts()`
    `void` | `setFactHandles(Map<String,org.kie.api.runtime.rule.FactHandle> factHandles)`
    `void` | `setRuleFlowGroup(String ruleFlowGroup)`
    `void` | `signalEvent(String type, Object event)`

    - ### Methods inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance

      `addTimerListener, checkProcessInstance, configureTimerInstance, createTimerInstance, getActivationType, getEventBasedNode, getEventTypes, getTimerInstances, internalSetTimerInstances, resolveVariable, triggerCompleted, triggerCompleted`

    - ### Methods inherited from class org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl

      `getExtendedNode, triggerCompleted, triggerEvent`

    - ### Methods inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl

      `executeAction, followConnection, getId, getLevel, getMetaData, getMetaData, getNode, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getUniqueId, getVariable, isInversionOfControl, resolveContext, resolveContextInstance, retrigger, setDynamicParameters, setId, setLevel, setMetaData, setNodeId, setNodeInstanceContainer, setProcessInstance, setVariable, trigger, triggerConnection, triggerNode, triggerNodeInstance`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.kie.api.runtime.process.EventListener

      `getEventTypes`

- - ### Constructor Detail

    - #### RuleSetNodeInstance

          public RuleSetNodeInstance()

  - ### Method Detail

    - #### getRuleSetNode

          protected RuleSetNode getRuleSetNode()

    - #### internalTrigger

          public void internalTrigger(org.kie.api.runtime.process.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)

      Specified by:
        `signalEvent` in interface `org.kie.api.runtime.process.EventListener`
      Overrides:
        `signalEvent` in class `StateBasedNodeInstance`

    - #### retractFacts

          public void retractFacts()

    - #### evaluateParameters

          protected Map<String,Object> evaluateParameters(RuleSetNode ruleSetNode)

    - #### getSourceParameters

          protected Map<String,Object> getSourceParameters(DataAssociation association)

    - #### getFactHandles

          public Map<String,org.kie.api.runtime.rule.FactHandle> getFactHandles()

    - #### setFactHandles

          public void setFactHandles(Map<String,org.kie.api.runtime.rule.FactHandle> factHandles)

    - #### getRuleFlowGroup

          public String getRuleFlowGroup()

    - #### setRuleFlowGroup

          public void setRuleFlowGroup(String ruleFlowGroup)

    - #### actAsWaitState

          protected boolean actAsWaitState()

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.