Interface FluentMutableMultiTagHolder<H extends FluentMutableMultiTagHolder<H>>
- Type Parameters:
H- the type of aFluentMutableMultiTagHolder
- All Superinterfaces:
MultiTagHolder
public interface FluentMutableMultiTagHolder<H extends FluentMutableMultiTagHolder<H>>
extends MultiTagHolder
A
FluentMutableMultiTagHolder is a MultiTagHolder whose
tags can be added programmatically and fluently and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionAdds the given tag to the currentFluentMutableMultiTagHolderif the currentFluentMutableMultiTagHolderdoes not contain already the given tag.voidRemoves the given tag from the currentFluentMutableMultiTagHolderif the currentFluentMutableMultiTagHoldercontains the given tag.voidRemoves all tags from the currentFluentMutableMultiTagHolder.Methods inherited from interface MultiTagHolder
getTags
-
Method Details
-
addTag
Adds the given tag to the currentFluentMutableMultiTagHolderif the currentFluentMutableMultiTagHolderdoes not contain already the given tag.- Parameters:
tag-- Returns:
- the current
FluentMutableMultiTagHolder - Throws:
RuntimeException- if the given tag is null or blank
-
removeTag
Removes the given tag from the currentFluentMutableMultiTagHolderif the currentFluentMutableMultiTagHoldercontains the given tag.- Parameters:
tag-
-
removeTags
void removeTags()Removes all tags from the currentFluentMutableMultiTagHolder.
-