Interface ReactiveUpdateOperation.UpdateWithUpdate<T>
- All Known Subinterfaces:
ReactiveUpdateOperation.ReactiveUpdate<T>
,ReactiveUpdateOperation.UpdateWithQuery<T>
- Enclosing interface:
- ReactiveUpdateOperation
public static interface ReactiveUpdateOperation.UpdateWithUpdate<T>
Declare the
Update
to apply.-
Method Summary
Modifier and TypeMethodDescriptionapply
(UpdateDefinition update) Set theUpdateDefinition
to be applied.replaceWith
(T replacement) Specifyreplacement
object.
-
Method Details
-
apply
Set theUpdateDefinition
to be applied.- Parameters:
update
- must not be null.- Returns:
- new instance of
ReactiveUpdateOperation.TerminatingUpdate
. Never null. - Throws:
IllegalArgumentException
- if update is null.- Since:
- 3.0
- See Also:
-
replaceWith
Specifyreplacement
object.- Parameters:
replacement
- must not be null.- Returns:
- new instance of
FindAndReplaceOptions
. - Throws:
IllegalArgumentException
- if options is null.- Since:
- 2.1
-