Interface IFluentMutableMultiTextHolder<H extends IFluentMutableMultiTextHolder<H>>
- Type Parameters:
H- is the type of aIFluentMutableMultiTextHolder.
- All Superinterfaces:
IMultiTextHolder
public interface IFluentMutableMultiTextHolder<H extends IFluentMutableMultiTextHolder<H>>
extends IMultiTextHolder
A
IFluentMutableMultiTextHolder is a IMultiTextHolder whose
texts can be added and removed programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionAdds the given text to the currentIFluentMutableMultiTextHolder.voidremoveText(String text) Removes the text that equals the given text from the currentIFluentMutableMultiTextHolderif the currentIFluentMutableMultiTextHoldercontains such a text.voidRemoves all texts from the currentIFluentMutableMultiTextHolder.Methods inherited from interface IMultiTextHolder
getTexts
-
Method Details
-
addText
Adds the given text to the currentIFluentMutableMultiTextHolder.- Parameters:
text-- Returns:
- the current
IFluentMutableMultiTextHolder. - Throws:
RuntimeException- if the given text is null or blank.
-
removeText
Removes the text that equals the given text from the currentIFluentMutableMultiTextHolderif the currentIFluentMutableMultiTextHoldercontains such a text.- Parameters:
text-
-
removeTexts
void removeTexts()Removes all texts from the currentIFluentMutableMultiTextHolder.
-