Interface ListSeparatorBuilder

All Known Implementing Classes:
DefaultListSeparatorBuilder

public interface ListSeparatorBuilder
Builder interface for list separators.
  • Method Summary

    Modifier and Type
    Method
    Description
    add()
    Add the separator to the list prompt and return to the list builder.
    text(String text)
    Set the separator text.
  • Method Details

    • text

      Set the separator text.
      Parameters:
      text - the separator text
      Returns:
      this builder
    • add

      Add the separator to the list prompt and return to the list builder.
      Returns:
      the list builder