public class SameEventTypeValidator extends Object implements MigrationInstructionValidator
Constructor and Description |
---|
SameEventTypeValidator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isEvent(ActivityImpl activity) |
void |
validate(ValidatingMigrationInstruction instruction,
ValidatingMigrationInstructions instructions,
MigrationInstructionValidationReportImpl report)
Check that a migration instruction is valid for a migration plan.
|
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 boolean isEvent(ActivityImpl activity)
Copyright © 2017. All rights reserved.