Package com.google.gerrit.server
Class PluginUser
- java.lang.Object
- 
- com.google.gerrit.server.CurrentUser
- 
- com.google.gerrit.server.InternalUser
- 
- com.google.gerrit.server.PluginUser
 
 
 
- 
 public class PluginUser extends InternalUser User identity for plugin code that needs an identity.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfacePluginUser.Factory
 - 
Field Summary- 
Fields inherited from class com.google.gerrit.server.CurrentUserLAST_LOGIN_EXTERNAL_ID_PROPERTY_KEY
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedPluginUser(String pluginName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getUserName()Unique name of the user on this server, if one has been assigned.StringtoString()- 
Methods inherited from class com.google.gerrit.server.InternalUsergetCacheKey, getEffectiveGroups, isInternalUser
 - 
Methods inherited from class com.google.gerrit.server.CurrentUserasIdentifiedUser, get, getAccessPath, getAccountId, getEmailAddresses, getExternalIdKeys, getLastLoginExternalIdKey, getLoggableName, getRealUser, hasSameAccountId, isIdentifiedUser, isImpersonating, setAccessPath, updateRealAccountId
 
- 
 
- 
- 
- 
Constructor Detail- 
PluginUser@Inject protected PluginUser(String pluginName) 
 
- 
 - 
Method Detail- 
getUserNamepublic Optional<String> getUserName() Description copied from class:CurrentUserUnique name of the user on this server, if one has been assigned.- Overrides:
- getUserNamein class- CurrentUser
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- InternalUser
 
 
- 
 
-