Schnittstelle IMutableMultiTokenHolder
- Alle Superschnittstellen:
IMultiTokenHolder
A
IMutableMultiTokenHolder
is a IMultiTokenHolder
whose
tokens can be added and removed programmatically.- Version:
- 2023-07-16
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Adds the given token to the currentIMutableMultiTokenHolder
.void
removeToken
(String token) Removes the token that equals the given token from the currentIMutableMultiTokenHolder
if the currentIMutableMultiTokenHolder
contains such a token.void
Removes all tokens from the currentIMutableMultiTokenHolder
.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.multiattributeapi.IMultiTokenHolder
getTokens
-
Methodendetails
-
addToken
Adds the given token to the currentIMutableMultiTokenHolder
.- Parameter:
token
-- Löst aus:
RuntimeException
- if the given token is null or blank.
-
removeToken
Removes the token that equals the given token from the currentIMutableMultiTokenHolder
if the currentIMutableMultiTokenHolder
contains such a token.- Parameter:
token
-
-
removeTokens
void removeTokens()Removes all tokens from the currentIMutableMultiTokenHolder
.
-