public class BpmnSupport extends Object
Process.| Constructor and Description |
|---|
BpmnSupport(org.camunda.bpm.model.bpmn.instance.Process process) |
| Modifier and Type | Method and Description |
|---|---|
org.camunda.bpm.model.bpmn.instance.FlowNode |
get(String flowNodeId) |
org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics |
getMultiInstanceLoopCharacteristics(String flowNodeId)
Gets the multi instance loop characteristics from the flow node with the given ID.
|
String |
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.
|
org.camunda.bpm.model.bpmn.instance.Process |
getProcess() |
String |
getTopicName(String flowNodeId) |
boolean |
has(String flowNodeId) |
boolean |
isBoundaryEvent(String flowNodeId) |
boolean |
isCallActivity(String flowNodeId) |
boolean |
isEventBasedGateway(String flowNodeId) |
boolean |
isExternalTask(String flowNodeId) |
boolean |
isIntermediateCatchEvent(String flowNodeId) |
boolean |
isIntermediateThrowEvent(String flowNodeId) |
boolean |
isProcessEnd(String flowNodeId)
Determines if the flow node with the given ID ends the process or not.
|
boolean |
isProcessStart(String flowNodeId) |
boolean |
isReceiveTask(String flowNodeId) |
boolean |
isUserTask(String flowNodeId) |
public BpmnSupport(org.camunda.bpm.model.bpmn.instance.Process process)
public org.camunda.bpm.model.bpmn.instance.FlowNode get(String flowNodeId)
public org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics getMultiInstanceLoopCharacteristics(String flowNodeId)
flowNodeId - A specific flow node ID.null, if the flow node does not exist or does not have
such loop characteristics.public String getParentElementId(String flowNodeId)
flowNodeId - A specific flow node ID.null, if the flow node with the given ID does not exist,
has no parent element or the parent element is not of type BaseElement.public org.camunda.bpm.model.bpmn.instance.Process getProcess()
public boolean has(String flowNodeId)
public boolean isBoundaryEvent(String flowNodeId)
public boolean isCallActivity(String flowNodeId)
public boolean isEventBasedGateway(String flowNodeId)
public boolean isExternalTask(String flowNodeId)
public boolean isIntermediateCatchEvent(String flowNodeId)
public boolean isIntermediateThrowEvent(String flowNodeId)
public boolean isProcessEnd(String flowNodeId)
flowNodeId - A specific flow node ID.true, if the flow node ends the process. Otherwise false.public boolean isProcessStart(String flowNodeId)
public boolean isReceiveTask(String flowNodeId)
public boolean isUserTask(String flowNodeId)
Copyright © 2023 Camunda. All rights reserved.