Class ProcessInstanceMigrationRecord
java.lang.Object
io.camunda.zeebe.msgpack.value.BaseValue
io.camunda.zeebe.msgpack.value.ObjectValue
io.camunda.zeebe.msgpack.UnpackedObject
io.camunda.zeebe.protocol.impl.record.UnifiedRecordValue
io.camunda.zeebe.protocol.impl.record.value.processinstance.ProcessInstanceMigrationRecord
- All Implemented Interfaces:
Recyclable,JsonSerializable,RecordValue,ProcessInstanceMigrationRecordValue,ProcessInstanceRelated,BufferReader,BufferWriter
public final class ProcessInstanceMigrationRecord
extends UnifiedRecordValue
implements ProcessInstanceMigrationRecordValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.protocol.record.value.ProcessInstanceMigrationRecordValue
ProcessInstanceMigrationRecordValue.ProcessInstanceMigrationMappingInstructionValue -
Field Summary
Fields inherited from class io.camunda.zeebe.msgpack.UnpackedObject
reader, writer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMappingInstruction(ProcessInstanceMigrationMappingInstruction mappingInstruction) This method is expensive because it copies each element before returning it.longlongbooleanReturns true if this record has mapping instructions, otherwise false.setProcessInstanceKey(long processInstanceKey) setTargetProcessDefinitionKey(long targetProcessDefinitionKey) Methods inherited from class io.camunda.zeebe.protocol.impl.record.UnifiedRecordValue
getEncodedLength, getLength, isEmpty, toJsonMethods inherited from class io.camunda.zeebe.msgpack.UnpackedObject
wrap, wrap, writeMethods inherited from class io.camunda.zeebe.msgpack.value.ObjectValue
declareProperty, equals, hashCode, read, reset, write, writeJSONMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.zeebe.util.buffer.BufferReader
copyFromMethods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJsonMethods inherited from interface io.camunda.zeebe.msgpack.Recyclable
reset
-
Constructor Details
-
ProcessInstanceMigrationRecord
public ProcessInstanceMigrationRecord()
-
-
Method Details
-
getProcessInstanceKey
public long getProcessInstanceKey()- Specified by:
getProcessInstanceKeyin interfaceProcessInstanceRelated
-
setProcessInstanceKey
-
getTargetProcessDefinitionKey
public long getTargetProcessDefinitionKey()- Specified by:
getTargetProcessDefinitionKeyin interfaceProcessInstanceMigrationRecordValue
-
setTargetProcessDefinitionKey
public ProcessInstanceMigrationRecord setTargetProcessDefinitionKey(long targetProcessDefinitionKey) -
getMappingInstructions
public List<ProcessInstanceMigrationRecordValue.ProcessInstanceMigrationMappingInstructionValue> getMappingInstructions()This method is expensive because it copies each element before returning it. It is recommended to usehasMappingInstructions()before calling this.- Specified by:
getMappingInstructionsin interfaceProcessInstanceMigrationRecordValue
-
hasMappingInstructions
public boolean hasMappingInstructions()Returns true if this record has mapping instructions, otherwise false. -
addMappingInstruction
public ProcessInstanceMigrationRecord addMappingInstruction(ProcessInstanceMigrationMappingInstruction mappingInstruction)
-