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 TypMethodeBeschreibungvoidRemoves the token of the currentIMutableOptionalTokenHolder.voidSets the token of the currentIMutableOptionalTokenHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.optionalattribute.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.
-