public class AddIncludedGroups extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestModifyView<GroupResource,AddIncludedGroups.Input>
Modifier and Type | Class and Description |
---|---|
static class |
AddIncludedGroups.Input |
Constructor and Description |
---|
AddIncludedGroups(GroupsCollection groupsCollection,
GroupIncludeCache groupIncludeCache,
com.google.inject.Provider<com.google.gerrit.reviewdb.server.ReviewDb> db,
GroupJson json) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GroupJson.GroupInfo> |
apply(GroupResource resource,
AddIncludedGroups.Input input) |
@Inject public AddIncludedGroups(GroupsCollection groupsCollection, GroupIncludeCache groupIncludeCache, com.google.inject.Provider<com.google.gerrit.reviewdb.server.ReviewDb> db, GroupJson json)
public java.util.List<GroupJson.GroupInfo> apply(GroupResource resource, AddIncludedGroups.Input input) throws com.google.gerrit.extensions.restapi.MethodNotAllowedException, com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.UnprocessableEntityException, com.google.gwtorm.server.OrmException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<GroupResource,AddIncludedGroups.Input>
com.google.gerrit.extensions.restapi.MethodNotAllowedException
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.UnprocessableEntityException
com.google.gwtorm.server.OrmException