Package org.jbpm.workflow.instance.node
Class SubProcessNodeInstance
- 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.SubProcessNodeInstance
-
- All Implemented Interfaces:
Serializable,ContextInstanceContainer,EventBasedNodeInstanceInterface,NodeInstance,org.kie.api.runtime.process.EventListener,org.kie.api.runtime.process.NodeInstance
public class SubProcessNodeInstance extends StateBasedNodeInstance implements org.kie.api.runtime.process.EventListener, ContextInstanceContainer
Runtime counterpart of a SubFlow node.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 SubProcessNodeInstance()
-
Method Summary
-
Methods inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
addTimerListener, checkDeclarationMatch, checkProcessInstance, configureSla, configureTimerInstance, createTimerInstance, getActivationType, getEventBasedNode, 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, getProcessInstance, getSlaCompliance, getSlaDueDate, getSlaTimerId, getTriggerTime, getUniqueId, getVariable, internalSetSlaCompliance, internalSetSlaDueDate, internalSetSlaTimerId, isAborted, isInversionOfControl, resolveContext, resolveContextInstance, resolveContextInstance, retrigger, setAborted, setDynamicParameters, setId, setLevel, setMetaData, setNodeId, setNodeInstanceContainer, setProcessInstance, setVariable, trigger, triggerConnection, triggerNode, triggerNode, triggerNodeInstance, triggerNodeInstance
-
-
-
-
Method Detail
-
getSubProcessNode
protected SubProcessNode getSubProcessNode()
-
internalTrigger
public void internalTrigger(org.kie.api.runtime.process.NodeInstance from, String type)- Overrides:
internalTriggerin classStateBasedNodeInstance
-
cancel
public void cancel(NodeInstance.CancelType cancelType)
- Specified by:
cancelin interfaceNodeInstance- Overrides:
cancelin classStateBasedNodeInstance
-
getProcessInstanceId
public long getProcessInstanceId()
-
internalSetProcessInstanceId
public void internalSetProcessInstanceId(long processInstanceId)
-
addEventListeners
public void addEventListeners()
- Specified by:
addEventListenersin interfaceEventBasedNodeInstanceInterface- Overrides:
addEventListenersin classStateBasedNodeInstance
-
removeEventListeners
public void removeEventListeners()
- Specified by:
removeEventListenersin interfaceEventBasedNodeInstanceInterface- Overrides:
removeEventListenersin classStateBasedNodeInstance
-
signalEvent
public void signalEvent(String type, Object event)
- Specified by:
signalEventin interfaceorg.kie.api.runtime.process.EventListener- Overrides:
signalEventin classStateBasedNodeInstance
-
getEventTypes
public String[] getEventTypes()
- Specified by:
getEventTypesin interfaceorg.kie.api.runtime.process.EventListener- Overrides:
getEventTypesin classStateBasedNodeInstance
-
processInstanceCompleted
public void processInstanceCompleted(ProcessInstance processInstance)
-
getNodeName
public String getNodeName()
- Specified by:
getNodeNamein interfaceorg.kie.api.runtime.process.NodeInstance- Overrides:
getNodeNamein classNodeInstanceImpl
-
getContextInstances
public List<ContextInstance> getContextInstances(String contextId)
- Specified by:
getContextInstancesin interfaceContextInstanceContainer
-
addContextInstance
public void addContextInstance(String contextId, ContextInstance contextInstance)
- Specified by:
addContextInstancein interfaceContextInstanceContainer
-
removeContextInstance
public void removeContextInstance(String contextId, ContextInstance contextInstance)
- Specified by:
removeContextInstancein interfaceContextInstanceContainer
-
getContextInstance
public ContextInstance getContextInstance(String contextId, long id)
- Specified by:
getContextInstancein interfaceContextInstanceContainer
-
getContextInstance
public ContextInstance getContextInstance(Context context)
- Specified by:
getContextInstancein interfaceContextInstanceContainer
-
getContextContainer
public ContextContainer getContextContainer()
- Specified by:
getContextContainerin interfaceContextInstanceContainer
-
getSourceParameters
protected Map<String,Object> getSourceParameters(DataAssociation association)
-
-