Package jakarta.enterprise.event
Interface NotificationOptions.Builder
-
- Enclosing interface:
- NotificationOptions
public static interface NotificationOptions.Builder
Notification options builder.- Since:
- 2.0
- Author:
- Martin Kouba
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotificationOptions
build()
Build the notification optionsNotificationOptions.Builder
set(java.lang.String optionName, java.lang.Object optionValue)
Set an option valueNotificationOptions.Builder
setExecutor(java.util.concurrent.Executor executor)
Set the notification executor
-
-
-
Method Detail
-
setExecutor
NotificationOptions.Builder setExecutor(java.util.concurrent.Executor executor)
Set the notification executor- Parameters:
executor
- the Executor- Returns:
- this
-
set
NotificationOptions.Builder set(java.lang.String optionName, java.lang.Object optionValue)
Set an option value- Parameters:
optionName
- option nameoptionValue
- option value- Returns:
- this
-
build
NotificationOptions build()
Build the notification options- Returns:
- NotificationOptions
-
-