Interface MigrateProcessInstanceCommandStep1
- All Known Implementing Classes:
MigrateProcessInstanceCommandImpl
@ExperimentalApi("https://github.com/camunda/zeebe/issues/14907")
public interface MigrateProcessInstanceCommandStep1
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionmigrationPlan(long targetProcessDefinitionKey) Create a MigrationPlanGatewayOuterClass.MigrateProcessInstanceRequest.MigrationPlanfor the given target process definition key.migrationPlan(MigrationPlan migrationPlan) Use the provided MigrationPlan from the givenMigrationPlanobject.
-
Method Details
-
migrationPlan
MigrateProcessInstanceCommandStep1.MigrateProcessInstanceCommandStep2 migrationPlan(long targetProcessDefinitionKey) 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) 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
-