| Package | Description |
|---|---|
| org.gitlab4j.api | |
| org.gitlab4j.api.models |
| Modifier and Type | Method and Description |
|---|---|
List<Project> |
ProjectApi.getProjects(ProjectFilter filter)
Get a list of all visible projects across GitLab for the authenticated user using the provided filter.
|
Pager<Project> |
ProjectApi.getProjects(ProjectFilter filter,
int itemsPerPage)
Get a Pager of all visible projects across GitLab for the authenticated user using the provided filter.
|
List<Project> |
ProjectApi.getProjects(ProjectFilter filter,
int page,
int perPage)
Get a list of all visible projects across GitLab for the authenticated user in the specified page range
using the provided filter.
|
Stream<Project> |
ProjectApi.getProjectsStream(ProjectFilter filter)
Get a Stream of all visible projects across GitLab for the authenticated user using the provided filter.
|
List<Project> |
ProjectApi.getUserProjects(Object userIdOrUsername,
ProjectFilter filter)
Get a list of visible projects owned by the given user.
|
Pager<Project> |
ProjectApi.getUserProjects(Object userIdOrUsername,
ProjectFilter filter,
int itemsPerPage)
Get a Pager of visible projects owned by the given user.
|
List<Project> |
ProjectApi.getUserProjects(Object userIdOrUsername,
ProjectFilter filter,
int page,
int perPage)
Get a list of visible projects owned by the given user in the specified page range.
|
Stream<Project> |
ProjectApi.getUserProjectsStream(Object userIdOrUsername,
ProjectFilter filter)
Get a Stream of visible projects owned by the given user.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectFilter |
ProjectFilter.minAccessLevel(AccessLevel minAccessLevel)
Deprecated.
Replaced by
getComponentAt |
ProjectFilter |
ProjectFilter.withArchived(Boolean archived)
Limit by archived status.
|
ProjectFilter |
ProjectFilter.withCustomAttributes(Boolean withCustomAttributes)
Include custom attributes in response (admins only).
|
ProjectFilter |
ProjectFilter.withIdAfter(Integer idAfter)
Limit results to projects with IDs greater than the specified projectID.
|
ProjectFilter |
ProjectFilter.withIdBefore(Integer idBefore)
Limit results to projects with IDs less than the specified project ID.
|
ProjectFilter |
ProjectFilter.withIssuesEnabled(Boolean withIssuesEnabled)
Limit by enabled issues feature
|
ProjectFilter |
ProjectFilter.withLastActivityAfter(Date lastActivityAfter)
Limit results to projects with last_activity after specified time.
|
ProjectFilter |
ProjectFilter.withLastActivityBefore(Date lastActivityBefore)
Limit results to projects with last_activity before specified time.
|
ProjectFilter |
ProjectFilter.withMembership(Boolean membership)
Limit by projects that the current user is a member of
|
ProjectFilter |
ProjectFilter.withMergeRequestsEnabled(Boolean withMergeRequestsEnabled)
Limit by enabled merge requests feature
|
ProjectFilter |
ProjectFilter.withMinAccessLevel(AccessLevel minAccessLevel)
Limit by current user minimal access level.
|
ProjectFilter |
ProjectFilter.withOrderBy(Constants.ProjectOrderBy orderBy)
Return projects ordered by id, name, path, created_at, updated_at, or last_activity_at fields.
|
ProjectFilter |
ProjectFilter.withOwned(Boolean owned)
Limit by projects explicitly owned by the current user
|
ProjectFilter |
ProjectFilter.withProgrammingLanguage(String withProgrammingLanguage)
Limit by projects which use the given programming language.
|
ProjectFilter |
ProjectFilter.withRepositoryChecksumFailed(Boolean repositoryChecksumFailed)
Limit projects where the repository checksum calculation has failed.
|
ProjectFilter |
ProjectFilter.withRepositoryStorage(String repositoryStorage)
Limit results to projects stored on the specified repository_storage.
|
ProjectFilter |
ProjectFilter.withSearch(String search)
Return list of projects matching the search criteria.
|
ProjectFilter |
ProjectFilter.withSearchNamespaces(Boolean searchNamespaces)
Include ancestor namespaces when matching search criteria.
|
ProjectFilter |
ProjectFilter.withSimple(Boolean simple)
Return only limited fields for each project.
|
ProjectFilter |
ProjectFilter.withSortOder(Constants.SortOrder sort)
Return projects sorted in asc or desc order.
|
ProjectFilter |
ProjectFilter.withStarred(Boolean starred)
Limit by projects starred by the current user.
|
ProjectFilter |
ProjectFilter.withStatistics(Boolean statistics)
Include project statistics.
|
ProjectFilter |
ProjectFilter.withVisibility(Visibility visibility)
Limit by visibility public, internal, or private.
|
ProjectFilter |
ProjectFilter.withWikiChecksumFailed(Boolean wikiChecksumFailed)
Limit projects where the wiki checksum calculation has failed.
|
Copyright © 2021. All rights reserved.