Example #1
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);
            }
        }
Example #2
0
 public EmergingJobInstance(TimerDeclarationImpl timerDeclaration)
 {
     this.timerDeclaration = timerDeclaration;
 }
Example #3
0
 public MigratingTimerJobInstance(JobEntity jobEntity, JobDefinitionEntity jobDefinitionEntity, ScopeImpl targetScope, bool updateEvent, TimerDeclarationImpl targetTimerDeclaration) : base(jobEntity, jobDefinitionEntity, targetScope)
 {
     timerTriggerTargetScope   = determineTimerTriggerTargetScope(jobEntity, targetScope);
     this.updateEvent          = updateEvent;
     this.targetJobDeclaration = targetTimerDeclaration;
 }