public MigratingEventSubscriptionInstance(EventSubscriptionEntity eventSubscriptionEntity, ScopeImpl targetScope, bool updateEvent, EventSubscriptionDeclaration targetDeclaration) { this.eventSubscriptionEntity = eventSubscriptionEntity; this.targetScope = targetScope; this.updateEvent = updateEvent; this.targetDeclaration = targetDeclaration; }
public static bool definesPersistentEventTrigger(ActivityImpl activity) { ScopeImpl eventScope = activity.EventScope; if (eventScope != null) { return(TimerDeclarationImpl.getDeclarationsForScope(eventScope).ContainsKey(activity.Id) || EventSubscriptionDeclaration.getDeclarationsForScope(eventScope).ContainsKey(activity.Id)); } else { return(false); } }
public MigratingEventSubscriptionInstance(EventSubscriptionDeclaration eventSubscriptionDeclaration) { this.eventSubscriptionDeclaration = eventSubscriptionDeclaration; }