public static final class Notification.Builder
extends java.lang.Object
Notification
.Constructor and Description |
---|
Notification.Builder(java.lang.String id,
LocalizableMessage message)
Constructor with parameters for the required properties of
Notification . |
Modifier and Type | Method and Description |
---|---|
Notification |
build() |
Notification.Builder |
setResolution(LocalizableMessage resolution)
The resolution message, if any.
|
Notification.Builder |
setTime(java.util.Calendar time)
The time the notification was raised/found.
|
public Notification.Builder(java.lang.String id, LocalizableMessage message)
Notification
.public Notification.Builder setTime(java.util.Calendar time)
time
- New value for the property.public Notification.Builder setResolution(LocalizableMessage resolution)
Set
for warnings and errors.resolution
- New value for the property.public Notification build()