This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,47 @@
using Hangfire;
using Hangfire.Server;
namespace Kreta.Job.Tasks.Core
{
public interface INotificationJob
{
#region Mobil Push notification
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendErtekelesNotification();
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendHazifeladatNotification();
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendRendszerUzenetNotification();
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendBejelentettSzamonkeresNotification();
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendFeljegyzesNotification();
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendMulasztasNotification();
[DisableConcurrentExecution(0)]
[AutomaticRetry(Attempts = 2, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
void SendOrarendValtozasNotification(PerformContext context);
#endregion
[AutomaticRetry(Attempts = 1)]
void SendKozelgoFogadooraMail();
[AutomaticRetry(Attempts = 1)]
void SendNemNaplozottTanorakMail();
}
}