Package org.camunda.bpm.engine.impl.cmd
Class CreateMigrationPlanCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.CreateMigrationPlanCmd
- All Implemented Interfaces:
Command<MigrationPlan>
- Author:
- Thorben Lindhauer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAuthorization
(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition) execute
(CommandContext commandContext) protected List<MigrationInstruction>
generateInstructions
(CommandContext commandContext, ProcessDefinitionImpl sourceProcessDefinition, ProcessDefinitionImpl targetProcessDefinition, boolean updateEventTriggers) protected ProcessDefinitionEntity
getProcessDefinition
(CommandContext commandContext, String id, String type) protected MigrationInstructionValidationReportImpl
validateInstruction
(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, List<MigrationInstructionValidator> migrationInstructionValidators) protected void
validateMigration
(CommandContext commandContext, MigrationPlanImpl migrationPlan, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition) protected void
validateMigrationInstructions
(CommandContext commandContext, MigrationPlanValidationReportImpl planReport, MigrationPlanImpl migrationPlan, ProcessDefinitionImpl sourceProcessDefinition, ProcessDefinitionImpl targetProcessDefinition) protected void
validateVariables
(VariableMap variables, MigrationPlanValidationReportImpl planReport) protected ValidatingMigrationInstructions
wrapMigrationInstructions
(MigrationPlan migrationPlan, ProcessDefinitionImpl sourceProcessDefinition, ProcessDefinitionImpl targetProcessDefinition, MigrationPlanValidationReportImpl planReport) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Field Details
-
LOG
-
migrationBuilder
-
-
Constructor Details
-
CreateMigrationPlanCmd
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand<MigrationPlan>
-
validateMigration
protected void validateMigration(CommandContext commandContext, MigrationPlanImpl migrationPlan, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition) -
validateVariables
protected void validateVariables(VariableMap variables, MigrationPlanValidationReportImpl planReport) -
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String id, String type) -
checkAuthorization
protected void checkAuthorization(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition) -
generateInstructions
protected List<MigrationInstruction> generateInstructions(CommandContext commandContext, ProcessDefinitionImpl sourceProcessDefinition, ProcessDefinitionImpl targetProcessDefinition, boolean updateEventTriggers) -
validateMigrationInstructions
protected void validateMigrationInstructions(CommandContext commandContext, MigrationPlanValidationReportImpl planReport, MigrationPlanImpl migrationPlan, ProcessDefinitionImpl sourceProcessDefinition, ProcessDefinitionImpl targetProcessDefinition) -
validateInstruction
protected MigrationInstructionValidationReportImpl validateInstruction(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, List<MigrationInstructionValidator> migrationInstructionValidators) -
wrapMigrationInstructions
protected ValidatingMigrationInstructions wrapMigrationInstructions(MigrationPlan migrationPlan, ProcessDefinitionImpl sourceProcessDefinition, ProcessDefinitionImpl targetProcessDefinition, MigrationPlanValidationReportImpl planReport)
-