Class RoadMapDescription.Init<T extends RoadMapDescription.Init<T>>

Direct Known Subclasses:
RoadMapDescription.Builder
Enclosing class:
RoadMapDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T items(String[] items)
      Initializes the names of all items including steps and sub-steps in the road map.
      Parameters:
      items - the names of all items.
      Returns:
      The description instance with the update state (builder pattern).
    • steps

      public T steps(String[] steps)
      Initializes the names of all steps in the road map.
      Parameters:
      steps - the names of all steps.
      Returns:
      The description instance with the update state (builder pattern).
    • itemsCount

      public T itemsCount(Integer itemsCount)
      Initializes the number of steps and sub-steps in the road map.
      Parameters:
      itemsCount - the number of steps and sub-steps to initialize.
      Returns:
      The description instance with the update state (builder pattern).
    • stepsCount

      public T stepsCount(Integer stepsCount)
      Initializes the number of steps in the road map.
      Parameters:
      stepsCount - the number of steps to initialize.
      Returns:
      The description instance with the update state (builder pattern).