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