Package org.jbpm.workflow.instance.node
Class EventNodeInstance
java.lang.Object
org.jbpm.workflow.instance.impl.NodeInstanceImpl
org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
org.jbpm.workflow.instance.node.EventNodeInstance
- All Implemented Interfaces:
Serializable,EventBasedNodeInstanceInterface,EventNodeInstanceInterface,NodeInstance,org.kie.api.runtime.process.NodeInstance,KogitoEventListener,KogitoNodeInstance
- Direct Known Subclasses:
AsyncEventNodeInstance,BoundaryEventNodeInstance
public class EventNodeInstance
extends ExtendedNodeInstanceImpl
implements KogitoEventListener, EventNodeInstanceInterface, EventBasedNodeInstanceInterface
Runtime counterpart of an event 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, logger, slaCompliance, slaDueDate, slaTimerId, triggerTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidvoidcancel(KogitoNodeInstance.CancelType cancelType) protected voidSet<EventDescription<?>>protected KogitoEventListenerString[]protected voidvoidinternalTrigger(KogitoNodeInstance from, String type) voidvoidvoidsignalEvent(String type, Object event) voidvoidMethods inherited from class org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
getExtendedNode, triggerCompleted, 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.runtime.KogitoNodeInstance
isCancelledMethods inherited from interface org.jbpm.workflow.instance.NodeInstance
getKogitoProcessInstance
-
Constructor Details
-
EventNodeInstance
public EventNodeInstance()
-
-
Method Details
-
signalEvent
- Specified by:
signalEventin interfaceEventNodeInstanceInterface
-
signalEvent
- Specified by:
signalEventin interfaceKogitoEventListener
-
internalTrigger
- Overrides:
internalTriggerin classExtendedNodeInstanceImpl
-
configureSla
protected void configureSla()- Overrides:
configureSlain classNodeInstanceImpl
-
handleSLAViolation
protected void handleSLAViolation() -
addTimerListener
protected void addTimerListener() -
removeTimerListeners
public void removeTimerListeners() -
getEventNode
-
triggerCompleted
public void triggerCompleted() -
cancel
- Specified by:
cancelin interfaceNodeInstance- Overrides:
cancelin classNodeInstanceImpl
-
addEventListeners
public void addEventListeners()- Specified by:
addEventListenersin interfaceEventBasedNodeInstanceInterface
-
removeEventListeners
public void removeEventListeners()- Specified by:
removeEventListenersin interfaceEventBasedNodeInstanceInterface
-
getEventType
-
getEventListener
-
getEventTypes
- Specified by:
getEventTypesin interfaceKogitoEventListener
-
getEventDescriptions
- Specified by:
getEventDescriptionsin interfaceKogitoEventListener
-