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 TypMethodeBeschreibungvoidAdds the given token to the currentIMutableMultiTokenHolder.voidremoveToken(String token) Removes the token that equals the given token from the currentIMutableMultiTokenHolderif the currentIMutableMultiTokenHoldercontains such a token.voidRemoves all tokens from the currentIMutableMultiTokenHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.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 currentIMutableMultiTokenHolderif the currentIMutableMultiTokenHoldercontains such a token.- Parameter:
token-
-
removeTokens
void removeTokens()Removes all tokens from the currentIMutableMultiTokenHolder.
-