Class NoUnmappedCompensationStartEventValidator
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.validation.instance.NoUnmappedCompensationStartEventValidator
-
- All Implemented Interfaces:
MigratingCompensationInstanceValidator
public class NoUnmappedCompensationStartEventValidator extends java.lang.Object implements MigratingCompensationInstanceValidator
Subscriptions for compensation start events must be migrated, similar to compensation boundary events. However, this is not validated byNoUnmappedLeafInstanceValidator
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
Constructors Constructor Description NoUnmappedCompensationStartEventValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(MigratingCompensationEventSubscriptionInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport)
void
validate(MigratingEventScopeInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport)
-
-
-
Method Detail
-
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
-
-