Package com.google.gerrit.server.account
Class GroupMembers
- java.lang.Object
-
- com.google.gerrit.server.account.GroupMembers
-
public class GroupMembers extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Account>
listAccounts(AccountGroup.UUID groupUUID)
Recursively enumerate the members of the given group.Set<Account>
listAccounts(AccountGroup.UUID groupUUID, Project.NameKey project)
Recursively enumerate the members of the given group.
-
-
-
Method Detail
-
listAccounts
public Set<Account> listAccounts(AccountGroup.UUID groupUUID) throws IOException
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
-
-