blob: 5e36d6d64999f67bd203c01f8836de7640ce8c9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package com.yahoo.vespa.hosted.controller.notification;
import java.net.URI;
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, URI uri) {
public FormattedNotification {
Objects.requireNonNull(prettyType);
Objects.requireNonNull(messagePrefix);
Objects.requireNonNull(uri);
Objects.requireNonNull(notification);
}
}
|