Package 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,ContextInstanceContainer,EventBasedNodeInstanceInterface,NodeInstance,org.kie.api.runtime.process.EventListener,org.kie.api.runtime.process.NodeInstance,KogitoEventListener,KogitoNodeInstance
public class RuleSetNodeInstance
extends StateBasedNodeInstance
implements org.kie.api.runtime.process.EventListener, ContextInstanceContainer
Runtime counterpart of a ruleset node.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
NodeInstanceImpl.NodeInstanceTriggerNested classes/interfaces inherited from interface org.kie.kogito.internal.process.runtime.KogitoNodeInstance
KogitoNodeInstance.CancelType -
Field Summary
Fields inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
cancelType, dynamicParameters, leaveTime, slaCompliance, slaDueDate, slaTimerId, triggerTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidaddContextInstance(String contextId, ContextInstance contextInstance) voidvoidvoidvoidcancel(KogitoNodeInstance.CancelType cancelType) getContextInstance(String contextId, long id) getContextInstance(Context context) getContextInstances(String contextId) voidinternalTrigger(KogitoNodeInstance from, String type) voidremoveContextInstance(String contextId, ContextInstance contextInstance) voidvoidretractFacts(org.kie.api.runtime.KieRuntime kruntime) voidsetRuleFlowGroup(String ruleFlowGroup) voidsignalEvent(String type, Object event) Methods inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
addTimerListener, checkProcessInstance, configureSla, configureTimerInstance, createTimerInstance, extractTimerEventInformation, getActivationType, getEventBasedNode, getEventTypes, getProcessContext, getTimerInstances, getTimerInstancesReference, handleSLAViolation, internalSetTimerInstances, internalSetTimerInstancesReference, triggerCompleted, triggerCompletedMethods inherited from class org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
getExtendedNode, triggerCompleted, triggerEventMethods inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
cancel, captureError, executeAction, executeAction, followConnection, getCancelType, getId, getLeaveTime, getLevel, getMetaData, getMetaData, getNode, getNodeDefinitionId, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getSlaCompliance, getSlaDueDate, getSlaTimerId, getStringId, getTriggerTime, getUniqueId, getVariable, internalSetSlaCompliance, internalSetSlaDueDate, internalSetSlaTimerId, internalSetTriggerTime, isExpression, isInversionOfControl, mapDynamicOutputData, resolveContext, resolveContextInstance, resolveExpression, resolveValue, resolveValue, resolveValue, retrigger, setDynamicParameters, setId, setLevel, setMetaData, setNodeId, setNodeInstanceContainer, setProcessInstance, setVariable, trigger, triggerConnection, triggerNode, triggerNode, triggerNodeInstance, triggerNodeInstanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.runtime.process.EventListener
getEventTypesMethods inherited from interface org.kie.kogito.internal.process.event.KogitoEventListener
getEventDescriptionsMethods inherited from interface org.kie.kogito.internal.process.runtime.KogitoNodeInstance
isCancelledMethods inherited from interface org.jbpm.workflow.instance.NodeInstance
getKogitoProcessInstance
-
Constructor Details
-
RuleSetNodeInstance
public RuleSetNodeInstance()
-
-
Method Details
-
getRuleSetNode
-
internalTrigger
- Overrides:
internalTriggerin classStateBasedNodeInstance
-
addEventListeners
public void addEventListeners()- Specified by:
addEventListenersin interfaceEventBasedNodeInstanceInterface- Overrides:
addEventListenersin classStateBasedNodeInstance
-
addRuleSetListener
public void addRuleSetListener() -
removeEventListeners
public void removeEventListeners()- Specified by:
removeEventListenersin interfaceEventBasedNodeInstanceInterface- Overrides:
removeEventListenersin classStateBasedNodeInstance
-
cancel
- Specified by:
cancelin interfaceNodeInstance- Overrides:
cancelin classStateBasedNodeInstance
-
signalEvent
- Specified by:
signalEventin interfaceorg.kie.api.runtime.process.EventListener- Specified by:
signalEventin interfaceKogitoEventListener- Overrides:
signalEventin classStateBasedNodeInstance
-
addFact
-
retractFacts
public void retractFacts(org.kie.api.runtime.KieRuntime kruntime) -
getRuleFlowGroup
-
setRuleFlowGroup
-
actAsWaitState
public boolean actAsWaitState() -
getContextInstances
- Specified by:
getContextInstancesin interfaceContextInstanceContainer
-
addContextInstance
- Specified by:
addContextInstancein interfaceContextInstanceContainer
-
removeContextInstance
- Specified by:
removeContextInstancein interfaceContextInstanceContainer
-
getContextInstance
- Specified by:
getContextInstancein interfaceContextInstanceContainer
-
getContextInstance
- Specified by:
getContextInstancein interfaceContextInstanceContainer
-
getContextContainer
- Specified by:
getContextContainerin interfaceContextInstanceContainer
-