Пример #1
0
 public JobRunService(ITinyMessengerHub messengerHub, IJobbrRepository repository, IArtefactsStorageProvider artefactsStorageProvider, IMapper mapper)
 {
     this.messengerHub             = messengerHub;
     this.repository               = repository;
     this.artefactsStorageProvider = artefactsStorageProvider;
     this.mapper = mapper;
 }
Пример #2
0
        public DefaultScheduler(IJobbrRepository repository, IJobExecutor executor, InstantJobRunPlaner instantJobRunPlaner, ScheduledJobRunPlaner scheduledJobRunPlaner, RecurringJobRunPlaner recurringJobRunPlaner, DefaultSchedulerConfiguration configuration, IPeriodicTimer periodicTimer, IDateTimeProvider dateTimeProvider)
        {
            this.repository = repository;
            this.executor   = executor;

            this.instantJobRunPlaner   = instantJobRunPlaner;
            this.scheduledJobRunPlaner = scheduledJobRunPlaner;
            this.recurringJobRunPlaner = recurringJobRunPlaner;

            this.configuration    = configuration;
            this.periodicTimer    = periodicTimer;
            this.dateTimeProvider = dateTimeProvider;

            this.periodicTimer.Setup(this.EvaluateRecurringTriggers);
        }
Пример #3
0
 public TriggerService(IJobbrRepository jobbrRepository, ITinyMessengerHub messengerHub, IMapper mapper)
 {
     this.jobbrRepository = jobbrRepository;
     this.messengerHub    = messengerHub;
     this.mapper          = mapper;
 }
Пример #4
0
 public JobQueryService(IJobbrRepository repository, IMapper mapper)
 {
     this.repository = repository;
     this.mapper     = mapper;
 }
Пример #5
0
 public JobRunInformationService(IJobbrRepository jobbrRepository, IMapper mapper)
 {
     this.jobbrRepository = jobbrRepository;
     this.mapper          = mapper;
 }