Class ProcessInstanceModificationActivateInstruction
java.lang.Object
io.camunda.zeebe.msgpack.value.BaseValue
io.camunda.zeebe.msgpack.value.ObjectValue
io.camunda.zeebe.protocol.impl.record.value.processinstance.ProcessInstanceModificationActivateInstruction
- All Implemented Interfaces:
Recyclable,ProcessInstanceModificationRecordValue.ProcessInstanceModificationActivateInstructionValue
public final class ProcessInstanceModificationActivateInstruction
extends ObjectValue
implements ProcessInstanceModificationRecordValue.ProcessInstanceModificationActivateInstructionValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAncestorScopeKeys(Set<Long> flowScopeKeys) addVariableInstruction(ProcessInstanceModificationVariableInstruction variableInstruction) voidbooleanequals relies on implementation provided byObjectValue.equals(Object)longorg.agrona.DirectBufferThis method is expensive because it copies each element before returning it.inthashCode()hashCode relies on implementation provided byObjectValue.hashCode()booleanReturns true if this record has variable instructions, otherwise false.setAncestorScopeKey(long ancestorScopeKey) setElementId(String elementId) Methods inherited from class io.camunda.zeebe.msgpack.value.ObjectValue
declareProperty, getEncodedLength, isEmpty, read, reset, write, writeJSON
-
Constructor Details
-
ProcessInstanceModificationActivateInstruction
public ProcessInstanceModificationActivateInstruction()
-
-
Method Details
-
getElementId
- Specified by:
getElementIdin interfaceProcessInstanceModificationRecordValue.ProcessInstanceModificationActivateInstructionValue
-
getAncestorScopeKey
public long getAncestorScopeKey()- Specified by:
getAncestorScopeKeyin interfaceProcessInstanceModificationRecordValue.ProcessInstanceModificationActivateInstructionValue
-
getVariableInstructions
public List<ProcessInstanceModificationRecordValue.ProcessInstanceModificationVariableInstructionValue> getVariableInstructions()This method is expensive because it copies each element before returning it. It is recommended to usehasVariableInstructions()before calling this. -
getAncestorScopeKeys
- Specified by:
getAncestorScopeKeysin interfaceProcessInstanceModificationRecordValue.ProcessInstanceModificationActivateInstructionValue
-
setAncestorScopeKey
-
setElementId
-
hasVariableInstructions
public boolean hasVariableInstructions()Returns true if this record has variable instructions, otherwise false. -
addVariableInstruction
public ProcessInstanceModificationActivateInstruction addVariableInstruction(ProcessInstanceModificationVariableInstruction variableInstruction) -
addAncestorScopeKeys
-
getElementIdBuffer
public org.agrona.DirectBuffer getElementIdBuffer() -
copy
-
hashCode
public int hashCode()hashCode relies on implementation provided byObjectValue.hashCode()- Overrides:
hashCodein classObjectValue
-
equals
equals relies on implementation provided byObjectValue.equals(Object)- Overrides:
equalsin classObjectValue
-