Interface FluentMutableContentHolder<H extends FluentMutableContentHolder<H,C>, C>
- Type Parameters:
H- the type of aFluentMutableContentHolderC- the type of the content of aFluentMutableContentHolder
- All Superinterfaces:
ContentHolder<C>
public interface FluentMutableContentHolder<H extends FluentMutableContentHolder<H,C>, C>
extends ContentHolder<C>
A
FluentMutableContentHolder is a ContentHolder whose content
can be set programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionsetContent(C content) Sets the content of the currentFluentMutableContentHolder.Methods inherited from interface ContentHolder
getStoredContent
-
Method Details
-
setContent
Sets the content of the currentFluentMutableContentHolder.- Parameters:
content-- Returns:
- the current
FluentMutableContentHolder - Throws:
RuntimeException- if the given content is null
-