Class CompensationEventSubscriptionWalker
- java.lang.Object
-
- org.camunda.bpm.engine.impl.tree.ReferenceWalker<EventSubscriptionEntity>
-
- 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
Constructors Constructor Description CompensationEventSubscriptionWalker(Collection<MigratingActivityInstance> collection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classReferenceWalker<EventSubscriptionEntity>
-
-