| Package | Description |
|---|---|
| org.graylog.events.contentpack.entities | |
| org.graylog.events.contentpack.facade | |
| org.graylog.events.notifications | |
| org.graylog.events.rest |
| Modifier and Type | Method and Description |
|---|---|
NotificationDto |
NotificationEntity.toNativeEntity(Map<String,ValueReference> parameters,
Map<EntityDescriptor,Object> nativeEntities) |
| Modifier and Type | Method and Description |
|---|---|
NativeEntity<NotificationDto> |
NotificationFacade.createNativeEntity(Entity entity,
Map<String,ValueReference> parameters,
Map<EntityDescriptor,Object> nativeEntities,
String username) |
Optional<NativeEntity<NotificationDto>> |
NotificationFacade.loadNativeEntity(NativeEntityDescriptor nativeEntityDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
EntityExcerpt |
NotificationFacade.createExcerpt(NotificationDto nativeEntity) |
void |
NotificationFacade.delete(NotificationDto nativeEntity) |
| Modifier and Type | Method and Description |
|---|---|
abstract NotificationDto |
NotificationDto.Builder.build() |
NotificationDto |
NotificationResourceHandler.create(NotificationDto unsavedDto,
Optional<User> user)
Creates a new notification definition and a corresponding scheduler job definition.
|
NotificationDto |
DBNotificationService.saveWithOwnership(NotificationDto notificationDto,
User user) |
NotificationDto |
NotificationResourceHandler.update(NotificationDto updatedDto)
Updates an existing notification definition and its corresponding scheduler job definition.
|
| Modifier and Type | Method and Description |
|---|---|
PaginatedList<NotificationDto> |
DBNotificationService.searchPaginated(SearchQuery query,
Predicate<NotificationDto> filter,
String sortByField,
int page,
int perPage) |
| Modifier and Type | Method and Description |
|---|---|
NotificationDto |
NotificationResourceHandler.create(NotificationDto unsavedDto,
Optional<User> user)
Creates a new notification definition and a corresponding scheduler job definition.
|
static EventNotificationContext |
NotificationTestData.getDummyContext(NotificationDto notificationDto,
String userName) |
NotificationDto |
DBNotificationService.saveWithOwnership(NotificationDto notificationDto,
User user) |
void |
NotificationResourceHandler.test(NotificationDto notificationDto,
String userName)
Tests a notification definition by executing it with a dummy event.
|
NotificationDto |
NotificationResourceHandler.update(NotificationDto updatedDto)
Updates an existing notification definition and its corresponding scheduler job definition.
|
| Modifier and Type | Method and Description |
|---|---|
PaginatedList<NotificationDto> |
DBNotificationService.searchPaginated(SearchQuery query,
Predicate<NotificationDto> filter,
String sortByField,
int page,
int perPage) |
| Modifier and Type | Method and Description |
|---|---|
NotificationDto |
EventNotificationsResource.get(@NotBlank String notificationId) |
| Modifier and Type | Method and Description |
|---|---|
PaginatedResponse<NotificationDto> |
EventNotificationsResource.listNotifications(int page,
int perPage,
String query) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
EventNotificationsResource.create(NotificationDto dto,
UserContext userContext) |
javax.ws.rs.core.Response |
EventNotificationsResource.test(NotificationDto dto) |
javax.ws.rs.core.Response |
EventNotificationsResource.update(@NotBlank String notificationId,
NotificationDto dto) |
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.