Package com.google.gerrit.server.account
Class GroupMembers
java.lang.Object
com.google.gerrit.server.account.GroupMembers
-
Method Summary
Modifier and TypeMethodDescriptionlistAccounts
(AccountGroup.UUID groupUUID) Recursively enumerate the members of the given group.listAccounts
(AccountGroup.UUID groupUUID, Project.NameKey project) Recursively enumerate the members of the given group.
-
Method Details
-
listAccounts
Recursively enumerate the members of the given group. Should not be used with the PROJECT_OWNERS magical group.Group members for which an account doesn't exist are filtered out.
- Throws:
IOException
-
listAccounts
public Set<Account> listAccounts(AccountGroup.UUID groupUUID, Project.NameKey project) throws NoSuchProjectException, IOException Recursively enumerate the members of the given group. The project should be specified so the PROJECT_OWNERS magical group can be expanded.Group members for which an account doesn't exist are filtered out.
- Throws:
NoSuchProjectException
IOException
-