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
public final class ElementInstance extends UnpackedObject implements DbValue
-
-
Field Summary
-
Fields inherited from class io.camunda.zeebe.msgpack.UnpackedObject
reader, writer
-
-
Constructor Summary
Constructors Constructor Description ElementInstance(long key, ElementInstance parent, ProcessInstanceIntent state, ProcessInstanceRecord value)
ElementInstance(long key, ProcessInstanceIntent state, ProcessInstanceRecord value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canTerminate()
void
decrementActiveSequenceFlows()
void
decrementChildCount()
long
getActiveSequenceFlows()
long
getCalledChildInstanceKey()
org.agrona.DirectBuffer
getInterruptingElementId()
long
getJobKey()
long
getKey()
int
getMultiInstanceLoopCounter()
int
getNumberOfActiveElementInstances()
long
getParentKey()
ProcessInstanceIntent
getState()
ProcessInstanceRecord
getValue()
void
incrementActiveSequenceFlows()
void
incrementMultiInstanceLoopCounter()
boolean
isActive()
boolean
isInFinalState()
boolean
isInterrupted()
boolean
isTerminating()
void
resetActiveSequenceFlows()
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, 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
wrap
-
Methods inherited from interface io.camunda.zeebe.util.buffer.BufferWriter
getLength, write
-
Methods inherited from interface io.camunda.zeebe.msgpack.Recyclable
reset
-
-
-
-
Constructor Detail
-
ElementInstance
public ElementInstance(long key, ElementInstance parent, ProcessInstanceIntent state, ProcessInstanceRecord value)
-
ElementInstance
public ElementInstance(long key, ProcessInstanceIntent state, ProcessInstanceRecord value)
-
-
Method Detail
-
getKey
public long getKey()
-
getState
public ProcessInstanceIntent getState()
-
setState
public void setState(ProcessInstanceIntent state)
-
getValue
public ProcessInstanceRecord getValue()
-
setValue
public void setValue(ProcessInstanceRecord value)
-
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()
-
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()
-
getParentKey
public long getParentKey()
-
getActiveSequenceFlows
public long getActiveSequenceFlows()
-
decrementActiveSequenceFlows
public void decrementActiveSequenceFlows()
-
incrementActiveSequenceFlows
public void incrementActiveSequenceFlows()
-
resetActiveSequenceFlows
public void resetActiveSequenceFlows()
-
-