Class ElementInstance
java.lang.Object
io.camunda.zeebe.msgpack.value.BaseValue
io.camunda.zeebe.msgpack.value.ObjectValue
io.camunda.zeebe.msgpack.UnpackedObject
io.camunda.zeebe.engine.state.instance.ElementInstance
- All Implemented Interfaces:
DbValue
,Recyclable
,BufferReader
,BufferWriter
-
Field Summary
Fields inherited from class io.camunda.zeebe.msgpack.UnpackedObject
reader, writer
-
Constructor Summary
ConstructorsConstructorDescriptionElementInstance
(long key, ElementInstance parent, ProcessInstanceIntent state, ProcessInstanceRecord value) ElementInstance
(long key, ProcessInstanceIntent state, ProcessInstanceRecord value) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
void
long
long
org.agrona.DirectBuffer
long
long
getKey()
int
int
int
int
int
long
getState()
getValue()
void
void
void
void
void
boolean
isActive()
boolean
boolean
boolean
void
void
setCalledChildInstanceKey
(long calledChildInstanceKey) void
setInterruptingElementId
(org.agrona.DirectBuffer elementId) void
setJobKey
(long jobKey) void
setMultiInstanceLoopCounter
(int loopCounter) void
setState
(ProcessInstanceIntent state) void
setValue
(ProcessInstanceRecord value) Methods inherited from class io.camunda.zeebe.msgpack.UnpackedObject
getLength, wrap, wrap, write
Methods inherited from class io.camunda.zeebe.msgpack.value.ObjectValue
declareProperty, equals, getEncodedLength, hashCode, isEmpty, read, reset, write, writeJSON
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.util.buffer.BufferReader
copyFrom, wrap
Methods inherited from interface io.camunda.zeebe.util.buffer.BufferWriter
copyTo, getLength, write
Methods inherited from interface io.camunda.zeebe.msgpack.Recyclable
reset
-
Constructor Details
-
ElementInstance
public ElementInstance() -
ElementInstance
public ElementInstance(long key, ElementInstance parent, ProcessInstanceIntent state, ProcessInstanceRecord value) -
ElementInstance
-
-
Method Details
-
getKey
public long getKey() -
getState
-
setState
-
getValue
-
setValue
-
getJobKey
public long getJobKey() -
setJobKey
public void setJobKey(long jobKey) -
decrementChildCount
public void decrementChildCount() -
canTerminate
public boolean canTerminate() -
isActive
public boolean isActive() -
isTerminating
public boolean isTerminating() -
isInFinalState
public boolean isInFinalState() -
getNumberOfActiveElementInstances
public int getNumberOfActiveElementInstances() -
getNumberOfCompletedElementInstances
public int getNumberOfCompletedElementInstances() -
getNumberOfElementInstances
public int getNumberOfElementInstances() -
getNumberOfTerminatedElementInstances
public int getNumberOfTerminatedElementInstances() -
incrementNumberOfCompletedElementInstances
public void incrementNumberOfCompletedElementInstances() -
incrementNumberOfElementInstances
public void incrementNumberOfElementInstances() -
incrementNumberOfTerminatedElementInstances
public void incrementNumberOfTerminatedElementInstances() -
getMultiInstanceLoopCounter
public int getMultiInstanceLoopCounter() -
setMultiInstanceLoopCounter
public void setMultiInstanceLoopCounter(int loopCounter) -
incrementMultiInstanceLoopCounter
public void incrementMultiInstanceLoopCounter() -
getCalledChildInstanceKey
public long getCalledChildInstanceKey() -
setCalledChildInstanceKey
public void setCalledChildInstanceKey(long calledChildInstanceKey) -
getInterruptingElementId
public org.agrona.DirectBuffer getInterruptingElementId() -
setInterruptingElementId
public void setInterruptingElementId(org.agrona.DirectBuffer elementId) -
isInterrupted
public boolean isInterrupted() -
clearInterruptedState
public void clearInterruptedState() -
getParentKey
public long getParentKey() -
getActiveSequenceFlows
public long getActiveSequenceFlows() -
decrementActiveSequenceFlows
public void decrementActiveSequenceFlows() -
incrementActiveSequenceFlows
public void incrementActiveSequenceFlows() -
resetActiveSequenceFlows
public void resetActiveSequenceFlows()
-