Interface IFluentMutableOptionalTitleHolder<H extends IFluentMutableOptionalTitleHolder<H>>
- Type Parameters:
H- is the type of aIFluentMutableOptionalTitleHolder.
- All Superinterfaces:
IOptionalTitleHolder
public interface IFluentMutableOptionalTitleHolder<H extends IFluentMutableOptionalTitleHolder<H>>
extends IOptionalTitleHolder
A
IFluentMutableOptionalTitleHolder is a IOptionalTitleHolder
whose title can be set and removed programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the title of the currentIFluentMutableOptionalTitleHolder.Sets the title of the currentIFluentMutableOptionalTitleHolder.Methods inherited from interface IOptionalTitleHolder
getTitle, getTitleInQuotes, hasTitle
-
Method Details
-
removeTitle
void removeTitle()Removes the title of the currentIFluentMutableOptionalTitleHolder. -
setTitle
Sets the title of the currentIFluentMutableOptionalTitleHolder.- Parameters:
title-- Returns:
- the current
IFluentMutableOptionalTitleHolder. - Throws:
RuntimeException- if the given title is null.RuntimeException- if the given title is blank.
-