Beispiel #1
0
 public MigratingEventSubscriptionInstance(EventSubscriptionEntity eventSubscriptionEntity, ScopeImpl targetScope, bool updateEvent, EventSubscriptionDeclaration targetDeclaration)
 {
     this.eventSubscriptionEntity = eventSubscriptionEntity;
     this.targetScope             = targetScope;
     this.updateEvent             = updateEvent;
     this.targetDeclaration       = targetDeclaration;
 }
Beispiel #2
0
        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);
            }
        }
Beispiel #3
0
 public MigratingEventSubscriptionInstance(EventSubscriptionDeclaration eventSubscriptionDeclaration)
 {
     this.eventSubscriptionDeclaration = eventSubscriptionDeclaration;
 }