Class NotificationDescription.Init<T extends NotificationDescription.Init<T>>

Direct Known Subclasses:
NotificationDescription.Builder
Enclosing class:
NotificationDescription

protected abstract static class NotificationDescription.Init<T extends NotificationDescription.Init<T>> extends UiObjectBaseDescription.Init<T>
Helper class for NotificationDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public NotificationDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class DescriptionBase.Init<T extends NotificationDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • type

      public T type(NotificationType type)
      Initializes the type of a notification. Possible values: NotificationType
      Parameters:
      type - the type of notification. Possible values: NotificationType
      Returns:
      the description instance with the updated state (builder pattern).
    • title

      public T title(StringProperty title)
      Initializes the notification's title.
      Parameters:
      title - the window title.
      Returns:
      the description instance with the update state (builder pattern).
    • title

      public T title(String title)
      Initializes the notification's title.
      Parameters:
      title - the window title.
      Returns:
      the description instance with the update state (builder pattern).
    • message

      public T message(StringProperty message)
      Initializes the notification's message.
      Parameters:
      message - the text of the displayed message.
      Returns:
      the description instance with the update state (builder pattern).
    • message

      public T message(String message)
      Initializes the notification's message.
      Parameters:
      message - the text of the displayed message.
      Returns:
      the description instance with the update state (builder pattern).
    • classPath

      public T classPath(StringProperty classPath)
      Initializes the notification's classPath.
      Parameters:
      classPath - the hierarchy of the object's Oracle class.
      Returns:
      the description instance with the update state (builder pattern).
    • classPath

      public T classPath(String classPath)
      Initializes the notification's classPath.
      Parameters:
      classPath - the hierarchy of the object's Oracle class.
      Returns:
      the description instance with the update state (builder pattern).
    • enabled

      public T enabled(Boolean enabled)
      Indicates whether the object is enable.
      Parameters:
      enabled - true to set as enabled.
      Returns:
      the description instance with the update state (builder pattern).