blob: bed053d592fd24ad31a477f429aa13eb6fd90d95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.notification;
import java.util.Objects;
/**
* Contains formatted text that can be displayed to a user to give extra information and pointers for a given
* Notification.
*
* @author enygaard
*/
public record FormattedNotification(Notification notification, String prettyType, String messagePrefix, String uri) {
public FormattedNotification {
Objects.requireNonNull(prettyType);
Objects.requireNonNull(messagePrefix);
Objects.requireNonNull(uri);
Objects.requireNonNull(notification);
}
}
|