public static class TaskNotificationPreferences.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TaskNotificationPreferences |
build() |
TaskNotificationPreferences.Builder |
copy(TaskNotificationPreferences model) |
TaskNotificationPreferences.Builder |
shouldNotifyOnPause(Boolean shouldNotifyOnPause)
Enables notification on pause.
|
TaskNotificationPreferences.Builder |
shouldNotifyOnTaskFailure(Boolean shouldNotifyOnTaskFailure)
Enables or disables notification on Task Failures.
|
TaskNotificationPreferences.Builder |
shouldNotifyOnTaskSuccess(Boolean shouldNotifyOnTaskSuccess)
Enables or disables notification on Task Success.
|
public TaskNotificationPreferences.Builder shouldNotifyOnPause(Boolean shouldNotifyOnPause)
Enables notification on pause.
shouldNotifyOnPause
- the value to setpublic TaskNotificationPreferences.Builder shouldNotifyOnTaskFailure(Boolean shouldNotifyOnTaskFailure)
Enables or disables notification on Task Failures.
shouldNotifyOnTaskFailure
- the value to setpublic TaskNotificationPreferences.Builder shouldNotifyOnTaskSuccess(Boolean shouldNotifyOnTaskSuccess)
Enables or disables notification on Task Success.
shouldNotifyOnTaskSuccess
- the value to setpublic TaskNotificationPreferences build()
public TaskNotificationPreferences.Builder copy(TaskNotificationPreferences model)
Copyright © 2016–2024. All rights reserved.