Interface IFluentMutableOptionalLabelHolder<H extends IFluentMutableOptionalLabelHolder<H>>
- Type Parameters:
H- is the type of aIFluentMutableOptionalLabelHolder.
- All Superinterfaces:
IOptionalLabelHolder
public interface IFluentMutableOptionalLabelHolder<H extends IFluentMutableOptionalLabelHolder<H>>
extends IOptionalLabelHolder
A
IFluentMutableOptionalLabelHolder is a IOptionalLabelHolder
whose label can be set and removed programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the label of the currentIFluentMutableOptionalLabelHolder.Sets the label of the currentIFluentMutableOptionalLabelHolder.Methods inherited from interface IOptionalLabelHolder
getLabel, getLabelInQuotes, hasLabel
-
Method Details
-
removeLabel
void removeLabel()Removes the label of the currentIFluentMutableOptionalLabelHolder. -
setLabel
Sets the label of the currentIFluentMutableOptionalLabelHolder.- Parameters:
label-- Returns:
- the current
IFluentMutableOptionalLabelHolder. - Throws:
RuntimeException- if the given label is null.RuntimeException- if the given label is blank.
-