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