Interface MigrateProcessInstanceCommandStep1
- All Superinterfaces:
CommandWithCommunicationApiStep<MigrateProcessInstanceCommandStep1>
- All Known Implementing Classes:
MigrateProcessInstanceCommandImpl
@Deprecated
@ExperimentalApi("https://github.com/camunda/camunda/issues/14907")
public interface MigrateProcessInstanceCommandStep1
extends CommandWithCommunicationApiStep<MigrateProcessInstanceCommandStep1>
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.since 8.8 for removal in 8.9, replaced byMigrateProcessInstanceCommandStep1.MigrateProcessInstanceCommandStep2static interfaceDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionmigrationPlan(long targetProcessDefinitionKey) Deprecated.Create a MigrationPlanGatewayOuterClass.MigrateProcessInstanceRequest.MigrationPlanfor the given target process definition key.migrationPlan(MigrationPlan migrationPlan) Deprecated.Use the provided MigrationPlan from the givenMigrationPlanobject.Methods inherited from interface io.camunda.zeebe.client.api.command.CommandWithCommunicationApiStep
useGrpc, useRest
-
Method Details
-
migrationPlan
MigrateProcessInstanceCommandStep1.MigrateProcessInstanceCommandStep2 migrationPlan(long targetProcessDefinitionKey) Deprecated.Create a MigrationPlanGatewayOuterClass.MigrateProcessInstanceRequest.MigrationPlanfor 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) Deprecated.Use the provided MigrationPlan from the givenMigrationPlanobject.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
-
MigrateProcessInstanceCommandStep1