Package io.camunda.client.protocol.rest
Class ProcessInstanceMigrationInstruction
java.lang.Object
io.camunda.client.protocol.rest.ProcessInstanceMigrationInstruction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-10-08T19:37:20.302687113Z[GMT]",
comments="Generator version: 7.12.0")
public class ProcessInstanceMigrationInstruction
extends Object
The migration instructions describe how to migrate a process instance from one process definition to another.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMappingInstructionsItem(MigrateProcessInstanceMappingInstruction mappingInstructionsItem) booleanElement mappings from the source process instance to the target process instance.A reference key chosen by the user that will be part of all records resulting from this operation.The key of process definition to migrate the process instance to.inthashCode()mappingInstructions(List<MigrateProcessInstanceMappingInstruction> mappingInstructions) operationReference(Long operationReference) voidsetMappingInstructions(List<MigrateProcessInstanceMappingInstruction> mappingInstructions) voidsetOperationReference(Long operationReference) voidsetTargetProcessDefinitionKey(String targetProcessDefinitionKey) targetProcessDefinitionKey(String targetProcessDefinitionKey) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_MAPPING_INSTRUCTIONS
- See Also:
-
JSON_PROPERTY_OPERATION_REFERENCE
- See Also:
-
JSON_PROPERTY_TARGET_PROCESS_DEFINITION_KEY
- See Also:
-
-
Constructor Details
-
ProcessInstanceMigrationInstruction
public ProcessInstanceMigrationInstruction()
-
-
Method Details
-
mappingInstructions
public ProcessInstanceMigrationInstruction mappingInstructions(@Nonnull List<MigrateProcessInstanceMappingInstruction> mappingInstructions) -
addMappingInstructionsItem
public ProcessInstanceMigrationInstruction addMappingInstructionsItem(MigrateProcessInstanceMappingInstruction mappingInstructionsItem) -
getMappingInstructions
Element mappings from the source process instance to the target process instance.- Returns:
- mappingInstructions
-
setMappingInstructions
public void setMappingInstructions(@Nonnull List<MigrateProcessInstanceMappingInstruction> mappingInstructions) -
operationReference
-
getOperationReference
A reference key chosen by the user that will be part of all records resulting from this operation. Must be > 0 if provided. minimum: 1- Returns:
- operationReference
-
setOperationReference
-
targetProcessDefinitionKey
public ProcessInstanceMigrationInstruction targetProcessDefinitionKey(@Nonnull String targetProcessDefinitionKey) -
getTargetProcessDefinitionKey
The key of process definition to migrate the process instance to.- Returns:
- targetProcessDefinitionKey
-
setTargetProcessDefinitionKey
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-