public class AdditionalFlowScopeInstructionValidator extends Object implements MigrationInstructionValidator
Constructor and Description |
---|
AdditionalFlowScopeInstructionValidator() |
Modifier and Type | Method and Description |
---|---|
protected ValidatingMigrationInstruction |
getClosestPreservedAncestorScopeMigrationInstruction(ValidatingMigrationInstruction instruction,
ValidatingMigrationInstructions instructions) |
void |
validate(ValidatingMigrationInstruction instruction,
ValidatingMigrationInstructions instructions,
MigrationInstructionValidationReportImpl report)
Check that a migration instruction is valid for a migration plan.
|
public AdditionalFlowScopeInstructionValidator()
public void validate(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, MigrationInstructionValidationReportImpl report)
MigrationInstructionValidator
validate
in interface MigrationInstructionValidator
instruction
- the instruction to validateinstructions
- the complete migration plan to validatereport
- the validation reportprotected ValidatingMigrationInstruction getClosestPreservedAncestorScopeMigrationInstruction(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions)
Copyright © 2017. All rights reserved.