Class NoUnmappedCompensationStartEventValidator
java.lang.Object
org.cibseven.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(MigratingCompensationEventSubscriptionInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport) voidvalidate(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:
validatein interfaceMigratingCompensationInstanceValidatorancestorInstanceReport- 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:
validatein interfaceMigratingCompensationInstanceValidatorancestorInstanceReport- the report of the closest ancestor activity instance; errors should be added to this report
-