Package com.google.gerrit.server
Class DefaultRefLogIdentityProvider
java.lang.Object
com.google.gerrit.server.DefaultRefLogIdentityProvider
- All Implemented Interfaces:
- RefLogIdentityProvider
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gerrit.server.RefLogIdentityProvidergetDefaultDomain, newRefLogIdent, newRefLogIdent
- 
Method Details- 
newRefLogIdentpublic 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 interface- RefLogIdentityProvider
- Parameters:
- user- the user for which a reflog identity should be created
- when- the timestamp that should be used to create the- PersonIdent
- zoneId- the zone ID identifying the timezone that should be used to create the- PersonIdent
 
 
-