Interface MutableMultiTagHolder
- All Superinterfaces:
MultiTagHolder
A
MutableMultiTagHolder is a MultiTagHolder whose tags can
be added and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given tag to the currentMutableMultiTagHolderif the currentMutableMultiTagHolderdoes not contain already the given tag.voidRemoves the given tag from the currentMutableMultiTagHolderif the currentMutableMultiTagHoldercontains the given a tag.voidRemoves all tags from the currentMutableMultiTagHolder.Methods inherited from interface MultiTagHolder
getTags
-
Method Details
-
addTag
Adds the given tag to the currentMutableMultiTagHolderif the currentMutableMultiTagHolderdoes not contain already the given tag.- Parameters:
tag-- Throws:
RuntimeException- if the given tag is null or blank
-
removeTag
Removes the given tag from the currentMutableMultiTagHolderif the currentMutableMultiTagHoldercontains the given a tag.- Parameters:
tag-
-
removeTags
void removeTags()Removes all tags from the currentMutableMultiTagHolder.
-