Schnittstelle IMutableOptionalTokenHolder
- Alle Superschnittstellen:
IOptionalTokenHolder
A
IMutableOptionalTokenHolder
is a IOptionalTokenHolder
whose
token can be set and removed programmatically.- Version:
- 2023-02-09
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Removes the token of the currentIMutableOptionalTokenHolder
.void
Sets the token of the currentIMutableOptionalTokenHolder
.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.optionalattributeapi.IOptionalTokenHolder
getToken, hasToken, hasToken
-
Methodendetails
-
removeToken
void removeToken()Removes the token of the currentIMutableOptionalTokenHolder
. -
setToken
Sets the token of the currentIMutableOptionalTokenHolder
.- Parameter:
token
-- Löst aus:
RuntimeException
- if the given token is null.RuntimeException
- if the given token is blank.
-