Package io.zeebe.engine.state.instance
Class ElementInstance
- java.lang.Object
-
- io.zeebe.msgpack.value.BaseValue
-
- io.zeebe.msgpack.value.ObjectValue
-
- io.zeebe.msgpack.UnpackedObject
-
- io.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.zeebe.msgpack.UnpackedObject
reader, writer
-
-
Constructor Summary
Constructors Constructor Description ElementInstance(long key, ElementInstance parent, WorkflowInstanceIntent state, WorkflowInstanceRecord value)ElementInstance(long key, WorkflowInstanceIntent state, WorkflowInstanceRecord value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanTerminate()voidconsumeToken()voiddecrementChildCount()longgetCalledChildInstanceKey()longgetInterruptingEventKey()longgetJobKey()longgetKey()intgetMultiInstanceLoopCounter()intgetNumberOfActiveElementInstances()intgetNumberOfActiveExecutionPaths()intgetNumberOfActiveTokens()longgetParentKey()WorkflowInstanceIntentgetState()WorkflowInstanceRecordgetValue()voidincrementMultiInstanceLoopCounter()booleanisActive()booleanisInFinalState()booleanisInterrupted()booleanisTerminating()voidsetCalledChildInstanceKey(long calledChildInstanceKey)voidsetInterruptingEventKey(long key)voidsetJobKey(long jobKey)voidsetMultiInstanceLoopCounter(int loopCounter)voidsetState(WorkflowInstanceIntent state)voidsetValue(WorkflowInstanceRecord value)voidspawnToken()-
Methods inherited from class io.zeebe.msgpack.UnpackedObject
getLength, wrap, wrap, write
-
Methods inherited from class io.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.zeebe.util.buffer.BufferReader
wrap
-
Methods inherited from interface io.zeebe.util.buffer.BufferWriter
getLength, write
-
Methods inherited from interface io.zeebe.msgpack.Recyclable
reset
-
-
-
-
Constructor Detail
-
ElementInstance
public ElementInstance(long key, ElementInstance parent, WorkflowInstanceIntent state, WorkflowInstanceRecord value)
-
ElementInstance
public ElementInstance(long key, WorkflowInstanceIntent state, WorkflowInstanceRecord value)
-
-
Method Detail
-
getKey
public long getKey()
-
getState
public WorkflowInstanceIntent getState()
-
setState
public void setState(WorkflowInstanceIntent state)
-
getValue
public WorkflowInstanceRecord getValue()
-
setValue
public void setValue(WorkflowInstanceRecord 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()
-
spawnToken
public void spawnToken()
-
consumeToken
public void consumeToken()
-
getNumberOfActiveTokens
public int getNumberOfActiveTokens()
-
getNumberOfActiveElementInstances
public int getNumberOfActiveElementInstances()
-
getNumberOfActiveExecutionPaths
public int getNumberOfActiveExecutionPaths()
-
getMultiInstanceLoopCounter
public int getMultiInstanceLoopCounter()
-
setMultiInstanceLoopCounter
public void setMultiInstanceLoopCounter(int loopCounter)
-
incrementMultiInstanceLoopCounter
public void incrementMultiInstanceLoopCounter()
-
getCalledChildInstanceKey
public long getCalledChildInstanceKey()
-
setCalledChildInstanceKey
public void setCalledChildInstanceKey(long calledChildInstanceKey)
-
getInterruptingEventKey
public long getInterruptingEventKey()
-
setInterruptingEventKey
public void setInterruptingEventKey(long key)
-
isInterrupted
public boolean isInterrupted()
-
getParentKey
public long getParentKey()
-
-