Interface AdHocSubProcess
- All Superinterfaces:
Activity,BaseElement,BpmnModelElementInstance,FlowElement,FlowNode,InteractionNode,ModelElementInstance,SubProcess
- All Known Implementing Classes:
AdHocSubProcessImpl
The BPMN 2.0 adHocSubProcess element.
An Ad-Hoc Sub-Process is a specialized type of Sub-Process that has a set of Activities that can be performed in any order, and some of which may not be performed at all. It is intended to be used in cases where the sequence and number of performances are determined by the performers of the Activities.
-
Method Summary
Modifier and TypeMethodDescriptionThe Expression that, when it evaluates to true, signals that the Ad-Hoc Sub-Process should complete.Returns the BPMNorderingattribute of the ad-hoc activities,AdHocOrdering.Parallelwhen the attribute is absent.booleanIf true, which is the default, then when the completionCondition is met any remaining running Activity instances within the Ad-Hoc Sub-Process are cancelled.voidsetCancelRemainingInstances(boolean cancelRemainingInstances) voidsetCompletionCondition(CompletionCondition completionCondition) voidsetOrdering(AdHocOrdering ordering) Methods inherited from interface org.cibseven.bpm.model.bpmn.instance.Activity
getCompletionQuantity, getDataInputAssociations, getDataOutputAssociations, getDefault, getIoSpecification, getLoopCharacteristics, getProperties, getResourceRoles, getStartQuantity, isForCompensation, setCompletionQuantity, setDefault, setForCompensation, setIoSpecification, setLoopCharacteristics, setStartQuantityMethods inherited from interface org.cibseven.bpm.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setIdMethods inherited from interface org.cibseven.bpm.model.bpmn.instance.BpmnModelElementInstance
getScope, isScopeMethods inherited from interface org.cibseven.bpm.model.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setNameMethods inherited from interface org.cibseven.bpm.model.bpmn.instance.FlowNode
getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriorityMethods inherited from interface org.cibseven.bpm.model.bpmn.instance.InteractionNode
getId, setIdMethods inherited from interface org.cibseven.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacementMethods inherited from interface org.cibseven.bpm.model.bpmn.instance.SubProcess
builder, getArtifacts, getFlowElements, getLaneSets, isCamundaAsync, setCamundaAsync, setTriggeredByEvent, triggeredByEvent
-
Method Details
-
getOrdering
AdHocOrdering getOrdering()Returns the BPMNorderingattribute of the ad-hoc activities,AdHocOrdering.Parallelwhen the attribute is absent.The engine implements
AdHocOrdering.Parallelonly. A model declaringAdHocOrdering.Sequentialis rejected at deployment naming the attribute, rather than being accepted and executed in parallel. -
setOrdering
-
isCancelRemainingInstances
boolean isCancelRemainingInstances()If true, which is the default, then when the completionCondition is met any remaining running Activity instances within the Ad-Hoc Sub-Process are cancelled. -
setCancelRemainingInstances
void setCancelRemainingInstances(boolean cancelRemainingInstances) -
getCompletionCondition
CompletionCondition getCompletionCondition()The Expression that, when it evaluates to true, signals that the Ad-Hoc Sub-Process should complete. -
setCompletionCondition
-