Class SameEventScopeInstructionValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instruction.SameEventScopeInstructionValidator
- All Implemented Interfaces:
MigrationInstructionValidator
public class SameEventScopeInstructionValidator
extends Object
implements MigrationInstructionValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFailure
(ValidatingMigrationInstruction instruction, MigrationInstructionValidationReportImpl report, String sourceScopeId, String targetScopeId) protected ScopeImpl
findMappedEventScope
(ScopeImpl sourceEventScope, ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions) protected boolean
isCompensationBoundaryEvent
(ActivityImpl sourceActivity) protected boolean
isUserTaskWithTimeoutListener
(ActivityImpl sourceActivity) void
validate
(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, MigrationInstructionValidationReportImpl report) Check that a migration instruction is valid for a migration plan.
-
Constructor Details
-
SameEventScopeInstructionValidator
public SameEventScopeInstructionValidator()
-
-
Method Details
-
validate
public void validate(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, MigrationInstructionValidationReportImpl report) Description copied from interface:MigrationInstructionValidator
Check that a migration instruction is valid for a migration plan. If it is invalid a failure has to added to the validation report.- Specified by:
validate
in interfaceMigrationInstructionValidator
- Parameters:
instruction
- the instruction to validateinstructions
- the complete migration plan to validatereport
- the validation report
-
isCompensationBoundaryEvent
-
isUserTaskWithTimeoutListener
-
findMappedEventScope
protected ScopeImpl findMappedEventScope(ScopeImpl sourceEventScope, ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions) -
addFailure
protected void addFailure(ValidatingMigrationInstruction instruction, MigrationInstructionValidationReportImpl report, String sourceScopeId, String targetScopeId)
-