Interface MigrateProcessInstanceCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<MigrateProcessInstanceCommandStep1>
- All Known Implementing Classes:
MigrateProcessInstanceCommandImpl
@ExperimentalApi("https://github.com/camunda/camunda/issues/14907")
public interface MigrateProcessInstanceCommandStep1
extends CommandWithCommunicationApiStep<MigrateProcessInstanceCommandStep1>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionmigrationPlan
(long targetProcessDefinitionKey) Create a MigrationPlanGatewayOuterClass.MigrateProcessInstanceRequest.MigrationPlan
for the given target process definition key.migrationPlan
(MigrationPlan migrationPlan) Use the provided MigrationPlan from the givenMigrationPlan
object.Methods inherited from interface io.camunda.zeebe.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRest
-
Method Details
-
migrationPlan
MigrateProcessInstanceCommandStep1.MigrateProcessInstanceCommandStep2 migrationPlan(long targetProcessDefinitionKey) Create a MigrationPlanGatewayOuterClass.MigrateProcessInstanceRequest.MigrationPlan
for the given target process definition key.- Parameters:
targetProcessDefinitionKey
- the key of the target process definition- Returns:
- the builder for this command
-
migrationPlan
MigrateProcessInstanceCommandStep1.MigrateProcessInstanceCommandFinalStep migrationPlan(MigrationPlan migrationPlan) Use the provided MigrationPlan from the givenMigrationPlan
object.Example MigrationPlan object creation:
final MigrationPlan migrationPlan = MigrationPlan.newBuilder() .withTargetProcessDefinitionKey(2L) .addMappingInstruction("element1", "element2") .addMappingInstruction("element3", "element4") .build();
- Parameters:
migrationPlan
- the object that contains migration plan data- Returns:
- the builder for this command
-