public static final class Notifications.Builder
extends java.lang.Object
Notifications
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Notifications . |
Modifier and Type | Method and Description |
---|---|
Notifications |
build() |
Notifications.Builder |
setErrors(java.util.List<Notification> errors)
Error notification messages reported.
|
Notifications.Builder |
setInfo(java.util.List<Notification> info)
Info notification messages reported.
|
Notifications.Builder |
setWarnings(java.util.List<Notification> warnings)
Warning notification messages reported.
|
public Builder()
Notifications
.public Notifications.Builder setInfo(java.util.List<Notification> info)
Set
if an info was reported by the task.info
- New value for the property.public Notifications.Builder setWarnings(java.util.List<Notification> warnings)
Set
if an warning was reported by the task.warnings
- New value for the property.public Notifications.Builder setErrors(java.util.List<Notification> errors)
Set
if an error was reported by the task.errors
- New value for the property.public Notifications build()