using GreenTree.Nachtragsmanagement.Core.Domain.Misc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GreenTree.Nachtragsmanagement.Services.Scheduling
{
public interface INotificationScheduler
{
///
/// Starts the scheduler and builds all corresponding notification jobs
///
void Start();
///
/// Determines the next execution time of a specific job
///
/// The job id.
DateTime GetNextExecutionOfJob(string jobId);
///
/// Determines the next execution time of a specific mail notification
///
/// The mail notification job.
DateTime GetNextExecutionOfJob(MailNotification mailNotification);
}
}