Class NoUnmappedCompensationStartEventValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instance.NoUnmappedCompensationStartEventValidator
- All Implemented Interfaces:
MigratingCompensationInstanceValidator
public class NoUnmappedCompensationStartEventValidator
extends Object
implements MigratingCompensationInstanceValidator
Subscriptions for compensation start events must be migrated, similar to compensation boundary events.
However, this is not validated by
NoUnmappedLeafInstanceValidator
because
the corresponding event scope instance need not be a leaf in the instance tree (the scope itself may contain
event subscriptions).- Author:
- Thorben Lindhauer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(MigratingCompensationEventSubscriptionInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport) void
validate
(MigratingEventScopeInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport)
-
Constructor Details
-
NoUnmappedCompensationStartEventValidator
public NoUnmappedCompensationStartEventValidator()
-
-
Method Details
-
validate
public void validate(MigratingEventScopeInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport) - Specified by:
validate
in interfaceMigratingCompensationInstanceValidator
ancestorInstanceReport
- the report of the closest ancestor activity instance; errors should be added to this report
-
validate
public void validate(MigratingCompensationEventSubscriptionInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport) - Specified by:
validate
in interfaceMigratingCompensationInstanceValidator
ancestorInstanceReport
- the report of the closest ancestor activity instance; errors should be added to this report
-