Class NotificationBarDescription.Init<T extends NotificationBarDescription.Init<T>>

Direct Known Subclasses:
NotificationBarDescription.Builder
Enclosing class:
NotificationBarDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T notifiersCount(Integer notifiersCount)
      Initializes the number of notifiers in the notification bar.
      Parameters:
      notifiersCount - the number of notifiers in the notification bar
      Returns:
      The description instance with the update state (builder pattern).
    • resizable

      public T resizable(Boolean resizable)
      Initializes whether the window of the notification bar is resizable.
      Parameters:
      resizable - whether the window of the notification bar is resizable.
      Returns:
      The description instance with the update state (builder pattern).
    • state

      public T state(BarState state)
      Initializes the display state of the notification bar.
      Parameters:
      state - the display state of the notification bar.
      Returns:
      the description instance with the update state (builder pattern).