Class JiraNotificationStore
java.lang.Object
com.codebarrel.jira.plugin.automation.store.JiraNotificationStore
- All Implemented Interfaces:
NotificationStore
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.codebarrel.automation.api.store.NotificationStore
NotificationStore.Type -
Constructor Summary
ConstructorsConstructorDescriptionJiraNotificationStore(UserPropertyManager userPropertyManager, UserManager userManager) -
Method Summary
Modifier and TypeMethodDescriptionlongcountSentNotificationsGlobally(Environment environment, NotificationStore.Type type) booleanhasSentNotification(TenantContext tenantContext, String userKey, NotificationStore.Type type) voidsaveNotificationSent(TenantContext tenantContext, String userKey, NotificationStore.Type type)
-
Constructor Details
-
JiraNotificationStore
@Inject public JiraNotificationStore(UserPropertyManager userPropertyManager, UserManager userManager)
-
-
Method Details
-
hasSentNotification
public boolean hasSentNotification(TenantContext tenantContext, String userKey, NotificationStore.Type type) - Specified by:
hasSentNotificationin interfaceNotificationStore
-
saveNotificationSent
public void saveNotificationSent(TenantContext tenantContext, String userKey, NotificationStore.Type type) - Specified by:
saveNotificationSentin interfaceNotificationStore
-
countSentNotificationsGlobally
- Specified by:
countSentNotificationsGloballyin interfaceNotificationStore
-