Class BpmnSupport
java.lang.Object
org.camunda.community.bpmndt.model.BpmnSupport
BPMN support, allows easier working with flow nodes of a
Process.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.camunda.zeebe.model.bpmn.instance.FlowNodeio.camunda.zeebe.model.bpmn.instance.MultiInstanceLoopCharacteristicsgetMultiInstanceLoopCharacteristics(String flowNodeId) Gets the multi instance loop characteristics from the flow node with the given ID.getParentElementId(String flowNodeId) Returns the ID of the parent element, which can be the ID of the process, an embedded sub process or a transaction.io.camunda.zeebe.model.bpmn.instance.ProcessbooleanbooleanisBoundaryEvent(String flowNodeId) booleanisBusinessRuleTask(String flowNodeId) booleanisCallActivity(String flowNodeId) booleanisEndEvent(String flowNodeId) booleanisEventBasedGateway(String flowNodeId) booleanisIntermediateCatchEvent(String flowNodeId) booleanisIntermediateThrowEvent(String flowNodeId) booleanisProcessEnd(String flowNodeId) Determines if the flow node with the given ID ends the process or not.booleanisProcessStart(String flowNodeId) booleanisReceiveTask(String flowNodeId) booleanisScriptTask(String flowNodeId) booleanisSendTask(String flowNodeId) booleanisServiceTask(String flowNodeId) booleanisUserTask(String flowNodeId)
-
Constructor Details
-
BpmnSupport
public BpmnSupport(io.camunda.zeebe.model.bpmn.instance.Process process)
-
-
Method Details
-
get
-
getMultiInstanceLoopCharacteristics
public io.camunda.zeebe.model.bpmn.instance.MultiInstanceLoopCharacteristics getMultiInstanceLoopCharacteristics(String flowNodeId) Gets the multi instance loop characteristics from the flow node with the given ID.- Parameters:
flowNodeId- A specific flow node ID.- Returns:
- The characteristics or
null, if the flow node does not exist or does not have such loop characteristics.
-
getParentElementId
Returns the ID of the parent element, which can be the ID of the process, an embedded sub process or a transaction.- Parameters:
flowNodeId- A specific flow node ID.- Returns:
- The parent element ID or
null, if the flow node with the given ID does not exist, has no parent element or the parent element is not of typeBaseElement.
-
getProcess
public io.camunda.zeebe.model.bpmn.instance.Process getProcess() -
has
-
isBoundaryEvent
-
isBusinessRuleTask
-
isCallActivity
-
isEndEvent
-
isEventBasedGateway
-
isIntermediateCatchEvent
-
isIntermediateThrowEvent
-
isProcessEnd
Determines if the flow node with the given ID ends the process or not. This is the case if it exists, if it is an end event and if the parent element is a process.- Parameters:
flowNodeId- A specific flow node ID.- Returns:
true, if the flow node ends the process. Otherwisefalse.
-
isProcessStart
-
isReceiveTask
-
isScriptTask
-
isSendTask
-
isServiceTask
-
isUserTask
-