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
Modifier and TypeMethodDescriptionbuild()
Build the notification optionsSet an option valuesetExecutor
(Executor executor) Set the notification executor
-
Method Details
-
setExecutor
Set the notification executor- Parameters:
executor
- the Executor- Returns:
- this
-
set
Set an option value- Parameters:
optionName
- option nameoptionValue
- option value- Returns:
- this
-
build
NotificationOptions build()Build the notification options- Returns:
- NotificationOptions
-