Interface GroupsUpdate.Factory

  • Enclosing class:
    GroupsUpdate

    public static interface GroupsUpdate.Factory
    • Method Detail

      • create

        GroupsUpdate create​(IdentifiedUser currentUser)
        Creates a GroupsUpdate which uses the identity of the specified user to mark database modifications executed by it. For NoteDb, this identity is used as author and committer for all related commits.

        Note: Please use this method with care and rather consider to use the correct annotation on the provider of a GroupsUpdate instead.

        Parameters:
        currentUser - the user to which modifications should be attributed, or null if the Gerrit server identity should be used