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
ConstructorsConstructorDescriptionMigrationPlanImpl(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.longGet 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:MigrationPlanGet the key of target process definition. targetProcessDefinitionKey indicates which process definition to use for the migration.- Specified by:
getTargetProcessDefinitionKeyin interfaceMigrationPlan- Returns:
- the target process definition key
-
getMappingInstructions
Description copied from interface:MigrationPlanGet mapping instructions to the migration for describing how to map elements from the source process definition to the target process definition.- Specified by:
getMappingInstructionsin interfaceMigrationPlan- Returns:
- list of mapping instructions
-