public class ValidatingMigrationInstructions extends Object
Modifier and Type | Field and Description |
---|---|
protected Collection<ValidatingMigrationInstruction> |
instructions |
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>> |
instructionsBySourceScope |
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>> |
instructionsByTargetScope |
Constructor and Description |
---|
ValidatingMigrationInstructions() |
ValidatingMigrationInstructions(Collection<ValidatingMigrationInstruction> instructions) |
protected Collection<ValidatingMigrationInstruction> instructions
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>> instructionsBySourceScope
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>> instructionsByTargetScope
public ValidatingMigrationInstructions(Collection<ValidatingMigrationInstruction> instructions)
public ValidatingMigrationInstructions()
public void addInstruction(ValidatingMigrationInstruction instruction)
public void addAll(List<ValidatingMigrationInstruction> instructions)
protected void indexInstruction(ValidatingMigrationInstruction instruction)
public List<ValidatingMigrationInstruction> getInstructions()
public List<ValidatingMigrationInstruction> getInstructionsBySourceScope(ScopeImpl scope)
public List<ValidatingMigrationInstruction> getInstructionsByTargetScope(ScopeImpl scope)
public void filterWith(List<MigrationInstructionValidator> validators)
public List<MigrationInstruction> asMigrationInstructions()
public boolean contains(ValidatingMigrationInstruction instruction)
public boolean containsInstructionForSourceScope(ScopeImpl sourceScope)
protected boolean isValidInstruction(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, List<MigrationInstructionValidator> migrationInstructionValidators)
protected MigrationInstructionValidationReportImpl validateInstruction(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, List<MigrationInstructionValidator> migrationInstructionValidators)
Copyright © 2020. All rights reserved.