Interface NotificationOptions.Builder

  • Enclosing interface:
    NotificationOptions

    public static interface NotificationOptions.Builder
    Notification options builder.
    Since:
    2.0
    Author:
    Martin Kouba
    • 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 name
        optionValue - option value
        Returns:
        this
      • build

        NotificationOptions build()
        Build the notification options
        Returns:
        NotificationOptions