java.lang.Object
org.jline.prompt.impl.DefaultListSeparatorBuilder
- All Implemented Interfaces:
ListSeparatorBuilder
Default implementation of ListSeparatorBuilder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd()Add the separator to the list prompt and return to the list builder.Set the separator text.
-
Constructor Details
-
DefaultListSeparatorBuilder
-
DefaultListSeparatorBuilder
-
-
Method Details
-
text
Description copied from interface:ListSeparatorBuilderSet the separator text.- Specified by:
textin interfaceListSeparatorBuilder- Parameters:
text- the separator text- Returns:
- this builder
-
add
Description copied from interface:ListSeparatorBuilderAdd the separator to the list prompt and return to the list builder.- Specified by:
addin interfaceListSeparatorBuilder- Returns:
- the list builder
-