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 evaluated to true, signals that the Ad-Hoc Sub-Process should complete.Returns the BPMNorderingattribute of the ad-hoc activities.booleanIf true (default), when the completionCondition is met, any remaining running Activity instances within the Ad-Hoc Sub-Process will be cancelled.voidsetCancelRemainingInstances(boolean cancelRemainingInstances) voidsetCompletionCondition(CompletionCondition completionCondition) voidsetOrdering(String ordering) Methods inherited from interface org.finos.fluxnova.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.finos.fluxnova.bpm.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setIdMethods inherited from interface org.finos.fluxnova.bpm.model.bpmn.instance.BpmnModelElementInstance
getScope, isScopeMethods inherited from interface org.finos.fluxnova.bpm.model.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setNameMethods inherited from interface org.finos.fluxnova.bpm.model.bpmn.instance.FlowNode
getFluxnovaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isFluxnovaAsyncAfter, isFluxnovaAsyncBefore, isFluxnovaExclusive, setFluxnovaAsyncAfter, setFluxnovaAsyncBefore, setFluxnovaExclusive, setFluxnovaJobPriorityMethods inherited from interface org.finos.fluxnova.bpm.model.bpmn.instance.InteractionNode
getId, setIdMethods inherited from interface org.finos.fluxnova.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.finos.fluxnova.bpm.model.bpmn.instance.SubProcess
builder, getArtifacts, getFlowElements, getLaneSets, isFluxnovaAsync, setFluxnovaAsync, setTriggeredByEvent, triggeredByEvent
-
Method Details
-
getOrdering
String getOrdering()Returns the BPMNorderingattribute of the ad-hoc activities. Typical values are "Parallel" (default) and "Sequential".This is model metadata. In the current engine implementation, ad-hoc runtime activation is parallel-only and "Sequential" is not enforced as execution behavior.
-
setOrdering
-
isCancelRemainingInstances
boolean isCancelRemainingInstances()If true (default), when the completionCondition is met, any remaining running Activity instances within the Ad-Hoc Sub-Process will be cancelled. -
setCancelRemainingInstances
void setCancelRemainingInstances(boolean cancelRemainingInstances) -
getCompletionCondition
CompletionCondition getCompletionCondition()The Expression that, when evaluated to true, signals that the Ad-Hoc Sub-Process should complete. -
setCompletionCondition
-