Schnittstelle IUpdaterCollector<O>
- Typparameter:
O
- is the type of theObject
s the updaters of aIUpdaterCollector
can mutate.
- Alle Superschnittstellen:
Clearable
,EmptinessRequestable
- Alle bekannten Implementierungsklassen:
UpdaterCollector
- Version:
- 2025-01-12
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addUpdater
(Consumer<O> updater) Adds the given updater to the currentIUpdaterCollector
.void
addUpdaters
(IContainer<Consumer<O>> updaters) Adds the given updaters to the currentIUpdaterCollector
.void
updateObjectAndClear
(O object) Updates the given object and clears the currentIUpdaterCollector
.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny, isEmpty
-
Methodendetails
-
addUpdater
Adds the given updater to the currentIUpdaterCollector
.- Parameter:
updater
-- Löst aus:
RuntimeException
- if the given updater is null.
-
addUpdaters
Adds the given updaters to the currentIUpdaterCollector
.- Parameter:
updaters
-- Löst aus:
RuntimeException
- if the given updaters is null.RuntimeException
- if one of the given updaters is null.
-
updateObjectAndClear
Updates the given object and clears the currentIUpdaterCollector
.- Parameter:
object
-- Löst aus:
RuntimeException
- if the given object is null.
-