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- 
Nested classes/interfaces inherited from class com.google.gerrit.server.CurrentUserCurrentUser.PropertyKey<T>
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedPluginUser(String pluginName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUserName()Unique name of the user on this server, if one has been assigned.StringtoString()- 
Methods inherited from class com.google.gerrit.server.InternalUsergetEffectiveGroups, isInternalUser
 - 
Methods inherited from class com.google.gerrit.server.CurrentUserasIdentifiedUser, get, getAccessPath, getAccountId, getLastLoginExternalIdKey, getRealUser, hasSameAccountId, isIdentifiedUser, isImpersonating, put, setAccessPath, setLastLoginExternalIdKey, updateRealAccountId
 
- 
 
- 
- 
- 
Constructor Detail- 
PluginUser@Inject protected PluginUser(String pluginName) 
 
- 
 - 
Method Detail- 
getUserNamepublic 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
 
 
- 
 
-