public class SameEventScopeInstructionValidator extends Object implements MigrationInstructionValidator
Constructor and Description |
---|
SameEventScopeInstructionValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addFailure(ValidatingMigrationInstruction instruction,
MigrationInstructionValidationReportImpl report,
String sourceScopeId,
String targetScopeId) |
protected ScopeImpl |
findMappedEventScope(ScopeImpl sourceEventScope,
ValidatingMigrationInstruction instruction,
ValidatingMigrationInstructions instructions) |
protected boolean |
isCompensationBoundaryEvent(ActivityImpl sourceActivity) |
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 isCompensationBoundaryEvent(ActivityImpl sourceActivity)
protected ScopeImpl findMappedEventScope(ScopeImpl sourceEventScope, ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions)
protected void addFailure(ValidatingMigrationInstruction instruction, MigrationInstructionValidationReportImpl report, String sourceScopeId, String targetScopeId)
Copyright © 2017. All rights reserved.