Package com.google.gerrit.server.account
Interface ServiceUserClassifier
-
- All Known Implementing Classes:
ServiceUserClassifier.NoOp
,ServiceUserClassifierImpl
public interface ServiceUserClassifier
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServiceUserClassifier.NoOp
An instance that can be used for testing and will consider no user to be a Service User.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_USERS
Name of the Service Users group used by this class to determine whether an account is a service user; if an account is a part of this group, that account is considered a service user.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isServiceUser(Account.Id user)
Returnstrue
if the given user is considered aService User
user.
-
-
-
Field Detail
-
SERVICE_USERS
static final String SERVICE_USERS
Name of the Service Users group used by this class to determine whether an account is a service user; if an account is a part of this group, that account is considered a service user.- See Also:
- Constant Field Values
-
-
Method Detail
-
isServiceUser
boolean isServiceUser(Account.Id user)
Returnstrue
if the given user is considered aService User
user.
-
-