Package com.google.gerrit.server.account
Class ServiceUserClassifierImpl
java.lang.Object
com.google.gerrit.server.account.ServiceUserClassifierImpl
- All Implemented Interfaces:
ServiceUserClassifier
An implementation of
ServiceUserClassifier
that will consider a user to be a robot if
they are a member in the Service Users
group.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gerrit.server.account.ServiceUserClassifier
ServiceUserClassifier.NoOp
-
Field Summary
Fields inherited from interface com.google.gerrit.server.account.ServiceUserClassifier
SERVICE_USERS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isServiceUser
(Account.Id user) Returnstrue
if the given user is considered aService User
user.static com.google.inject.Module
module()
-
Method Details
-
module
public static com.google.inject.Module module() -
isServiceUser
Description copied from interface:ServiceUserClassifier
Returnstrue
if the given user is considered aService User
user.- Specified by:
isServiceUser
in interfaceServiceUserClassifier
-