Package org.jbpm.workflow.instance.node
Class EventSubProcessNodeInstance
- 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.CompositeNodeInstance
-
- org.jbpm.workflow.instance.node.CompositeContextNodeInstance
-
- org.jbpm.workflow.instance.node.EventSubProcessNodeInstance
-
- All Implemented Interfaces:
Serializable
,ContextableInstance
,ContextInstanceContainer
,EventBasedNodeInstanceInterface
,EventNodeInstanceInterface
,NodeInstance
,NodeInstanceContainer
,org.kie.api.runtime.process.EventListener
,org.kie.api.runtime.process.NodeInstance
,org.kie.api.runtime.process.NodeInstanceContainer
public class EventSubProcessNodeInstance extends CompositeContextNodeInstance
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jbpm.workflow.instance.node.CompositeNodeInstance
CompositeNodeInstance.CompositeNodeEndInstance, CompositeNodeInstance.CompositeNodeStartInstance
-
Nested classes/interfaces inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
NodeInstanceImpl.NodeInstanceTrigger
-
Nested classes/interfaces inherited from interface org.jbpm.workflow.instance.NodeInstance
NodeInstance.CancelType
-
-
Field Summary
-
Fields inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
cancelType, dynamicParameters, slaCompliance, slaDueDate, slaTimerId, triggerTime, UNIQUE_ID
-
Fields inherited from interface org.jbpm.workflow.instance.NodeInstance
METADATA_WRAP_ASYNC_NODE
-
-
Constructor Summary
Constructors Constructor Description EventSubProcessNodeInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getActivationType()
protected EventSubProcessNode
getCompositeNode()
org.kie.api.definition.process.NodeContainer
getNodeContainer()
void
internalTrigger(org.kie.api.runtime.process.NodeInstance from, String type)
void
nodeInstanceCompleted(NodeInstance nodeInstance, String outType)
protected List<String>
resolveVariables(List<String> events)
void
signalEvent(String type, Object event)
-
Methods inherited from class org.jbpm.workflow.instance.node.CompositeContextNodeInstance
addContextInstance, getCompositeContextNode, getContextContainer, getContextInstance, getContextInstance, getContextInstance, getContextInstances, removeContextInstance, setContextInstance
-
Methods inherited from class org.jbpm.workflow.instance.node.CompositeNodeInstance
addEventListeners, addNodeInstance, cancel, getCurrentLevel, getFirstNodeInstance, getIterationLevels, getLevelForNode, getNodeInstance, getNodeInstance, getNodeInstance, getNodeInstances, getNodeInstances, getNodeInstances, getNodeInstances, getState, internalTriggerOnlyParent, isLinkedIncomingNodeRequired, removeEventListeners, removeNodeInstance, setCurrentLevel, setProcessInstance, setState, triggerCompleted, useAsync
-
Methods inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
addTimerListener, checkDeclarationMatch, checkProcessInstance, configureSla, configureTimerInstance, createTimerInstance, getEventBasedNode, getEventTypes, getTimerInstances, handleSLAViolation, internalSetTimerInstances, mapDynamicOutputData, registerBoundaryEvents, resolveVariable, triggerCompleted, triggerCompleted, triggerTimer
-
Methods inherited from class org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
getExtendedNode, handleAssignment, mapOutputSetVariables, mapOutputSetVariables, triggerCompleted, triggerEvent
-
Methods inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
cancel, executeAction, followConnection, getCancelType, getExecutionErrorHandler, getFrom, getId, getLevel, getMetaData, getMetaData, getNode, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getSlaCompliance, getSlaDueDate, getSlaTimerId, getTriggerTime, getUniqueId, getVariable, internalSetSlaCompliance, internalSetSlaDueDate, internalSetSlaTimerId, isAborted, isInversionOfControl, resolveContext, resolveContextInstance, resolveContextInstance, retrigger, setAborted, setDynamicParameters, setId, setLevel, setMetaData, setNodeId, setNodeInstanceContainer, setVariable, trigger, triggerConnection, triggerNode, triggerNode, triggerNodeInstance, triggerNodeInstance
-
-
-
-
Method Detail
-
getCompositeNode
protected EventSubProcessNode getCompositeNode()
- Overrides:
getCompositeNode
in classCompositeNodeInstance
-
getNodeContainer
public org.kie.api.definition.process.NodeContainer getNodeContainer()
- Specified by:
getNodeContainer
in interfaceNodeInstanceContainer
- Overrides:
getNodeContainer
in classCompositeNodeInstance
-
getActivationType
protected String getActivationType()
- Overrides:
getActivationType
in classStateBasedNodeInstance
-
internalTrigger
public void internalTrigger(org.kie.api.runtime.process.NodeInstance from, String type)
- Overrides:
internalTrigger
in classCompositeNodeInstance
-
signalEvent
public void signalEvent(String type, Object event)
- Specified by:
signalEvent
in interfaceorg.kie.api.runtime.process.EventListener
- Specified by:
signalEvent
in interfaceEventNodeInstanceInterface
- Overrides:
signalEvent
in classCompositeNodeInstance
-
nodeInstanceCompleted
public void nodeInstanceCompleted(NodeInstance nodeInstance, String outType)
- Specified by:
nodeInstanceCompleted
in interfaceNodeInstanceContainer
- Overrides:
nodeInstanceCompleted
in classCompositeNodeInstance
-
-