| Package | Description |
|---|---|
| org.gitlab4j.api | |
| org.gitlab4j.api.models |
| Modifier and Type | Method and Description |
|---|---|
List<Group> |
GroupApi.getGroups(GroupFilter filter)
Get a list of visible groups for the authenticated user using the provided filter.
|
Pager<Group> |
GroupApi.getGroups(GroupFilter filter,
int itemsPerPage)
Get a Pager of visible groups for the authenticated user using the provided filter.
|
Stream<Group> |
GroupApi.getGroupsStream(GroupFilter filter)
Get a Stream of visible groups for the authenticated user using the provided filter.
|
| Modifier and Type | Method and Description |
|---|---|
GroupFilter |
GroupFilter.withAllAvailabley(Boolean allAvailable)
Show all the groups you have access to (defaults to false for authenticated users, true for admin).
|
GroupFilter |
GroupFilter.withCustomAttributes(Boolean withCustomAttributes)
Include custom attributes in response (admins only).
|
GroupFilter |
GroupFilter.withMinAccessLevel(AccessLevel accessLevel)
Limit to groups where current user has at least this access level.
|
GroupFilter |
GroupFilter.withOrderBy(Constants.GroupOrderBy orderBy)
Return groups ordered by id, name, path, created_at, updated_at, or last_activity_at fields.
|
GroupFilter |
GroupFilter.withOwned(Boolean owned)
Limit by groups explicitly owned by the current user
|
GroupFilter |
GroupFilter.withSearch(String search)
Return list of groups matching the search criteria.
|
GroupFilter |
GroupFilter.withSkipGroups(List<Integer> skipGroups)
Do not include the provided groups IDs.
|
GroupFilter |
GroupFilter.withSortOder(Constants.SortOrder sort)
Return groups sorted in asc or desc order.
|
GroupFilter |
GroupFilter.withStatistics(Boolean statistics)
Include group statistics (admins only).
|
Copyright © 2021. All rights reserved.