Class MigrationPlanImpl
java.lang.Object
io.camunda.zeebe.client.api.command.MigrationPlanImpl
- All Implemented Interfaces:
MigrationPlan
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.client.api.command.MigrationPlan
MigrationPlan.MigrationPlanBuilderFinalStep, MigrationPlan.MigrationPlanBuilderStep1, MigrationPlan.MigrationPlanBuilderStep2
-
Constructor Summary
ConstructorDescriptionMigrationPlanImpl
(long targetProcessDefinitionKey, List<MigrationPlanBuilderImpl.MappingInstruction> mappingInstructions) -
Method Summary
Modifier and TypeMethodDescriptionGet mapping instructions to the migration for describing how to map elements from the source process definition to the target process definition.long
Get the key of target process definition. targetProcessDefinitionKey indicates which process definition to use for the migration.
-
Constructor Details
-
MigrationPlanImpl
public MigrationPlanImpl(long targetProcessDefinitionKey, List<MigrationPlanBuilderImpl.MappingInstruction> mappingInstructions)
-
-
Method Details
-
getTargetProcessDefinitionKey
public long getTargetProcessDefinitionKey()Description copied from interface:MigrationPlan
Get the key of target process definition. targetProcessDefinitionKey indicates which process definition to use for the migration.- Specified by:
getTargetProcessDefinitionKey
in interfaceMigrationPlan
- Returns:
- the target process definition key
-
getMappingInstructions
Description copied from interface:MigrationPlan
Get mapping instructions to the migration for describing how to map elements from the source process definition to the target process definition.- Specified by:
getMappingInstructions
in interfaceMigrationPlan
- Returns:
- list of mapping instructions
-