Package com.google.gerrit.server.account
Interface ServiceUserClassifier
- All Known Implementing Classes:
ServiceUserClassifier.NoOp
,ServiceUserClassifierImpl
public interface ServiceUserClassifier
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An instance that can be used for testing and will consider no user to be a Service User. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
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
Modifier and TypeMethodDescriptionboolean
isServiceUser
(Account.Id user) Returnstrue
if the given user is considered aService User
user.
-
Field Details
-
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:
-
-
Method Details
-
isServiceUser
Returnstrue
if the given user is considered aService User
user.
-