org.camunda.bpm.engine.impl.migration.instance.parser
Class CompensationEventSubscriptionWalker

java.lang.Object
  extended by org.camunda.bpm.engine.impl.tree.ReferenceWalker<EventSubscriptionEntity>
      extended by org.camunda.bpm.engine.impl.migration.instance.parser.CompensationEventSubscriptionWalker

public class CompensationEventSubscriptionWalker
extends ReferenceWalker<EventSubscriptionEntity>

Ensures that event subscriptions are visited in a top-down fashion, i.e. for a compensation handler in a scope that has an event scope execution, it is guaranteed that first the scope subscription is visited, and then the compensation handler

Author:
Thorben Lindhauer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.tree.ReferenceWalker
ReferenceWalker.NullCondition<S>, ReferenceWalker.WalkCondition<S>
 
Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.tree.ReferenceWalker
currentElements, postVisitor, preVisitor
 
Constructor Summary
CompensationEventSubscriptionWalker(Collection<MigratingActivityInstance> collection)
           
 
Method Summary
protected static List<EventSubscriptionEntity> collectCompensationEventSubscriptions(Collection<MigratingActivityInstance> activityInstances)
           
protected  Collection<EventSubscriptionEntity> nextElements()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.tree.ReferenceWalker
addPostVisitor, addPreVisitor, getCurrentElement, walkUntil, walkUntil, walkWhile, walkWhile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompensationEventSubscriptionWalker

public CompensationEventSubscriptionWalker(Collection<MigratingActivityInstance> collection)
Method Detail

collectCompensationEventSubscriptions

protected static List<EventSubscriptionEntity> collectCompensationEventSubscriptions(Collection<MigratingActivityInstance> activityInstances)

nextElements

protected Collection<EventSubscriptionEntity> nextElements()
Specified by:
nextElements in class ReferenceWalker<EventSubscriptionEntity>


Copyright © 2017 camunda services GmbH. All rights reserved.