Interface IFluentMutableOptionalTextHolder<H extends IFluentMutableOptionalTextHolder<H>>
- Type Parameters:
H- is the type of aIFluentMutableOptionalTextHolder.
- All Superinterfaces:
ITextHolder
public interface IFluentMutableOptionalTextHolder<H extends IFluentMutableOptionalTextHolder<H>>
extends ITextHolder
A
IFluentMutableOptionalTextHolder is a ITextHolder whose
text can be set and removed programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the text of the currentIFluentMutableOptionalTextHolder.Sets the text of the currentIFluentMutableOptionalTextHolder.Methods inherited from interface ITextHolder
getText
-
Method Details
-
removeText
void removeText()Removes the text of the currentIFluentMutableOptionalTextHolder. -
setText
Sets the text of the currentIFluentMutableOptionalTextHolder.- Parameters:
text-- Returns:
- the current
IFluentMutableOptionalTextHolder. - Throws:
RuntimeException- if the given text is null.
-