public static final class Notification.Builder
extends java.lang.Object
Notification
.Constructor and Description |
---|
Builder(java.lang.String notification,
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 Builder(java.lang.String notification, LocalizableMessage message)
Notification
.public Notification.Builder setTime(java.util.Calendar time)
Set
if the time information is available.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()