Interface MigrationInstructionValidator
-
- All Known Implementing Classes:
AdditionalFlowScopeInstructionValidator
,CannotAddMultiInstanceBodyValidator
,CannotAddMultiInstanceInnerActivityValidator
,CannotRemoveMultiInstanceInnerActivityValidator
,ConditionalEventUpdateEventTriggerValidator
,GatewayMappingValidator
,OnlyOnceMappedActivityInstructionValidator
,SameBehaviorInstructionValidator
,SameEventScopeInstructionValidator
,SameEventTypeValidator
,UpdateEventTriggersValidator
public interface MigrationInstructionValidator
Checks that a migration instruction is valid for the migration plan. For example if the instruction migrates an activity to a different type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, MigrationInstructionValidationReportImpl report)
Check that a migration instruction is valid for a migration plan.
-
-
-
Method Detail
-
validate
void validate(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, MigrationInstructionValidationReportImpl report)
Check that a migration instruction is valid for a migration plan. If it is invalid a failure has to added to the validation report.- Parameters:
instruction
- the instruction to validateinstructions
- the complete migration plan to validatereport
- the validation report
-
-