| Package | Description |
|---|---|
| org.gitlab4j.api | |
| org.gitlab4j.api.models |
| Modifier and Type | Method and Description |
|---|---|
List<Project> |
GroupApi.getProjects(Object groupIdOrPath,
GroupProjectsFilter filter)
Get a list of projects belonging to the specified group ID and filter.
|
Pager<Project> |
GroupApi.getProjects(Object groupIdOrPath,
GroupProjectsFilter filter,
int itemsPerPage)
Get a Pager of projects belonging to the specified group ID and filter.
|
Stream<Project> |
GroupApi.getProjectsStream(Object groupIdOrPath,
GroupProjectsFilter filter)
Get a Stream of projects belonging to the specified group ID and filter.
|
| Modifier and Type | Method and Description |
|---|---|
GroupProjectsFilter |
GroupProjectsFilter.withArchived(Boolean archived)
Limit by archived status.
|
GroupProjectsFilter |
GroupProjectsFilter.withCustomAttributes(Boolean withCustomAttributes)
Include custom attributes in response (admins only).
|
GroupProjectsFilter |
GroupProjectsFilter.withIncludeSubGroups(Boolean includeSubGroups)
Include projects that are located in subgroups
|
GroupProjectsFilter |
GroupProjectsFilter.withIssuesEnabled(Boolean withIssuesEnabled)
Limit by enabled issues feature
|
GroupProjectsFilter |
GroupProjectsFilter.withMergeRequestsEnabled(Boolean withMergeRequestsEnabled)
Limit by enabled merge requests feature
|
GroupProjectsFilter |
GroupProjectsFilter.withOrderBy(Constants.ProjectOrderBy orderBy)
Return projects ordered by id, name, path, created_at, updated_at, or last_activity_at fields.
|
GroupProjectsFilter |
GroupProjectsFilter.withOwned(Boolean owned)
Limit by projects explicitly owned by the current user
|
GroupProjectsFilter |
GroupProjectsFilter.withSearch(String search)
Return list of projects matching the search criteria.
|
GroupProjectsFilter |
GroupProjectsFilter.withShared(Boolean withShared)
Include projects that are shared with this group
|
GroupProjectsFilter |
GroupProjectsFilter.withSimple(Boolean simple)
Return only limited fields for each project.
|
GroupProjectsFilter |
GroupProjectsFilter.withSortOder(Constants.SortOrder sort)
Return projects sorted in asc or desc order.
|
GroupProjectsFilter |
GroupProjectsFilter.withStarred(Boolean starred)
Limit by projects starred by the current user.
|
GroupProjectsFilter |
GroupProjectsFilter.withVisibility(Visibility visibility)
Limit by visibility public, internal, or private.
|
Copyright © 2021. All rights reserved.