org.camunda.bpm.engine.impl.migration.validation.instance
Class NoUnmappedCompensationStartEventValidator

java.lang.Object
  extended by 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
NoUnmappedCompensationStartEventValidator()
           
 
Method Summary
 void validate(MigratingCompensationEventSubscriptionInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport)
           
 void validate(MigratingEventScopeInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl ancestorInstanceReport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoUnmappedCompensationStartEventValidator

public NoUnmappedCompensationStartEventValidator()
Method Detail

validate

public void validate(MigratingEventScopeInstance migratingInstance,
                     MigratingProcessInstance migratingProcessInstance,
                     MigratingActivityInstanceValidationReportImpl ancestorInstanceReport)
Specified by:
validate in interface MigratingCompensationInstanceValidator
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 interface MigratingCompensationInstanceValidator
ancestorInstanceReport - the report of the closest ancestor activity instance; errors should be added to this report


Copyright © 2017 camunda services GmbH. All rights reserved.