Package com.google.gerrit.server.account
Interface AccountsUpdate.ConfigureDeltaFromState
- Enclosing class:
- AccountsUpdate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Account updates are commonly performed by evaluating the current account state and creating a
delta to be applied to it in a later step. This is done by implementing this interface.
If the current account state is not needed, use a Consumer
of AccountDelta.Builder
instead.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(AccountState accountState, AccountDelta.Builder delta) Receives the currentAccountState
(which is immutable) and configures anAccountDelta.Builder
with changes to the account.
-
Method Details
-
configure
Receives the currentAccountState
(which is immutable) and configures anAccountDelta.Builder
with changes to the account.- Parameters:
accountState
- the state of the account that is being updateddelta
- the changes to be applied- Throws:
IOException
-