Package org.jbpm.workflow.instance.node
Class StateBasedNodeInstance
java.lang.Object
org.jbpm.workflow.instance.impl.NodeInstanceImpl
org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
org.jbpm.workflow.instance.node.StateBasedNodeInstance
- All Implemented Interfaces:
Serializable,EventBasedNodeInstanceInterface,NodeInstance,org.kie.api.runtime.process.NodeInstance,KogitoEventListener,KogitoNodeInstance
- Direct Known Subclasses:
CompositeNodeInstance,LambdaSubProcessNodeInstance,MilestoneNodeInstance,RuleSetNodeInstance,SubProcessNodeInstance,TimerNodeInstance,WorkItemNodeInstance
public abstract class StateBasedNodeInstance
extends ExtendedNodeInstanceImpl
implements EventBasedNodeInstanceInterface, KogitoEventListener
- 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 TypeMethodDescriptionvoidprotected voidvoidcancel(KogitoNodeInstance.CancelType cancelType) protected booleancheckProcessInstance(org.drools.core.rule.consequence.InternalMatch match) protected voidprotected ExpirationTimeconfigureTimerInstance(Timer timer) protected ExpirationTimecreateTimerInstance(Timer timer) protected StringString[]protected final KogitoProcessContextprotected voidvoidinternalSetTimerInstances(List<String> timerInstances) voidinternalSetTimerInstancesReference(Map<String, String> timerInstancesReference) voidinternalTrigger(KogitoNodeInstance from, String type) voidvoidsignalEvent(String type, Object event) voidvoidtriggerCompleted(String type, boolean remove) Methods 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.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
-
StateBasedNodeInstance
public StateBasedNodeInstance()
-
-
Method Details
-
getEventBasedNode
-
internalTrigger
- Overrides:
internalTriggerin classExtendedNodeInstanceImpl
-
configureSla
protected void configureSla()- Overrides:
configureSlain classNodeInstanceImpl
-
createTimerInstance
-
configureTimerInstance
-
handleSLAViolation
protected void handleSLAViolation() -
signalEvent
- Specified by:
signalEventin interfaceKogitoEventListener
-
getEventTypes
- Specified by:
getEventTypesin interfaceKogitoEventListener
-
triggerCompleted
public void triggerCompleted() -
addEventListeners
public void addEventListeners()- Specified by:
addEventListenersin interfaceEventBasedNodeInstanceInterface
-
addTimerListener
protected void addTimerListener() -
removeEventListeners
public void removeEventListeners()- Specified by:
removeEventListenersin interfaceEventBasedNodeInstanceInterface
-
triggerCompleted
- Overrides:
triggerCompletedin classExtendedNodeInstanceImpl
-
getTimerInstances
-
internalSetTimerInstances
-
getTimerInstancesReference
-
internalSetTimerInstancesReference
-
cancel
- Specified by:
cancelin interfaceNodeInstance- Overrides:
cancelin classNodeInstanceImpl
-
getActivationType
-
checkProcessInstance
protected boolean checkProcessInstance(org.drools.core.rule.consequence.InternalMatch match) -
extractTimerEventInformation
-
getProcessContext
-