Class BpmnElementContextImpl
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.bpmn.BpmnElementContextImpl
-
- All Implemented Interfaces:
BpmnElementContext
public final class BpmnElementContextImpl extends Object implements BpmnElementContext
-
-
Constructor Summary
Constructors Constructor Description BpmnElementContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BpmnElementContext
copy(long elementInstanceKey, ProcessInstanceRecord recordValue, ProcessInstanceIntent intent)
BpmnElementType
getBpmnElementType()
org.agrona.DirectBuffer
getBpmnProcessId()
org.agrona.DirectBuffer
getElementId()
long
getElementInstanceKey()
long
getFlowScopeKey()
ProcessInstanceIntent
getIntent()
long
getParentElementInstanceKey()
long
getParentProcessInstanceKey()
long
getProcessDefinitionKey()
long
getProcessInstanceKey()
int
getProcessVersion()
ProcessInstanceRecord
getRecordValue()
Caution! Don't modify the value to avoid unexpected side-effects.void
init(long elementInstanceKey, ProcessInstanceRecord recordValue, ProcessInstanceIntent intent)
boolean
isInReprocessingMode()
void
setReprocessingMode(boolean reprocessingMode)
String
toString()
-
-
-
Method Detail
-
getElementInstanceKey
public long getElementInstanceKey()
- Specified by:
getElementInstanceKey
in interfaceBpmnElementContext
-
getFlowScopeKey
public long getFlowScopeKey()
- Specified by:
getFlowScopeKey
in interfaceBpmnElementContext
-
getProcessInstanceKey
public long getProcessInstanceKey()
- Specified by:
getProcessInstanceKey
in interfaceBpmnElementContext
-
getParentProcessInstanceKey
public long getParentProcessInstanceKey()
- Specified by:
getParentProcessInstanceKey
in interfaceBpmnElementContext
-
getParentElementInstanceKey
public long getParentElementInstanceKey()
- Specified by:
getParentElementInstanceKey
in interfaceBpmnElementContext
-
getProcessDefinitionKey
public long getProcessDefinitionKey()
- Specified by:
getProcessDefinitionKey
in interfaceBpmnElementContext
-
getProcessVersion
public int getProcessVersion()
- Specified by:
getProcessVersion
in interfaceBpmnElementContext
-
getBpmnProcessId
public org.agrona.DirectBuffer getBpmnProcessId()
- Specified by:
getBpmnProcessId
in interfaceBpmnElementContext
-
getElementId
public org.agrona.DirectBuffer getElementId()
- Specified by:
getElementId
in interfaceBpmnElementContext
-
getBpmnElementType
public BpmnElementType getBpmnElementType()
- Specified by:
getBpmnElementType
in interfaceBpmnElementContext
-
getRecordValue
public ProcessInstanceRecord getRecordValue()
Description copied from interface:BpmnElementContext
Caution! Don't modify the value to avoid unexpected side-effects.- Specified by:
getRecordValue
in interfaceBpmnElementContext
- Returns:
- the value of the record that is currently processed
-
getIntent
public ProcessInstanceIntent getIntent()
- Specified by:
getIntent
in interfaceBpmnElementContext
-
copy
public BpmnElementContext copy(long elementInstanceKey, ProcessInstanceRecord recordValue, ProcessInstanceIntent intent)
- Specified by:
copy
in interfaceBpmnElementContext
-
init
public void init(long elementInstanceKey, ProcessInstanceRecord recordValue, ProcessInstanceIntent intent)
-
setReprocessingMode
public void setReprocessingMode(boolean reprocessingMode)
-
isInReprocessingMode
public boolean isInReprocessingMode()
- Specified by:
isInReprocessingMode
in interfaceBpmnElementContext
-
-