Package dev.dokimos.server.repository
Class AlertWebhookRepositoryFragmentImpl
java.lang.Object
dev.dokimos.server.tenant.AbstractScopedRepository<AlertWebhook>
dev.dokimos.server.repository.AlertWebhookRepositoryFragmentImpl
- All Implemented Interfaces:
AlertWebhookRepositoryFragment,ScopedRepository<AlertWebhook>
public class AlertWebhookRepositoryFragmentImpl
extends AbstractScopedRepository<AlertWebhook>
implements AlertWebhookRepositoryFragment
Tenant-scoped implementation of the
AlertWebhook finders.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByProject(Project project, TenantScope scope) Lists a project's webhooks oldest first, within the scope.findByProjectIdAndEnabledTrue(UUID projectId) Enabled webhooks of a project regardless of tenant, the set dispatched to on a regressing run.Methods inherited from class dev.dokimos.server.tenant.AbstractScopedRepository
count, delete, findAll, findById, save, saveAll
-
Constructor Details
-
AlertWebhookRepositoryFragmentImpl
public AlertWebhookRepositoryFragmentImpl()
-
-
Method Details
-
findByProject
Description copied from interface:AlertWebhookRepositoryFragmentLists a project's webhooks oldest first, within the scope.- Specified by:
findByProjectin interfaceAlertWebhookRepositoryFragment
-
findByProjectIdAndEnabledTrue
Description copied from interface:AlertWebhookRepositoryFragmentEnabled webhooks of a project regardless of tenant, the set dispatched to on a regressing run. The dispatcher runs off the request thread, so it lists unrestricted.- Specified by:
findByProjectIdAndEnabledTruein interfaceAlertWebhookRepositoryFragment
-