Package com.google.gerrit.server
Class DefaultRefLogIdentityProvider
java.lang.Object
com.google.gerrit.server.DefaultRefLogIdentityProvider
- All Implemented Interfaces:
RefLogIdentityProvider
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jgit.lib.PersonIdentnewRefLogIdent(IdentifiedUser user, Instant when, ZoneId zoneId) Creates aPersonIdentfor the given user that should be used as the user identity in the reflog for ref updates done by this user or done on behalf of this user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gerrit.server.RefLogIdentityProvider
getDefaultDomain, newRefLogIdent, newRefLogIdent
-
Method Details
-
newRefLogIdent
public org.eclipse.jgit.lib.PersonIdent newRefLogIdent(IdentifiedUser user, Instant when, ZoneId zoneId) Description copied from interface:RefLogIdentityProviderCreates aPersonIdentfor the given user that should be used as the user identity in the reflog for ref updates done by this user or done on behalf of this user.- Specified by:
newRefLogIdentin interfaceRefLogIdentityProvider- Parameters:
user- the user for which a reflog identity should be createdwhen- the timestamp that should be used to create thePersonIdentzoneId- the zone ID identifying the timezone that should be used to create thePersonIdent
-