Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
Project |
ProjectApi.archiveProject(Object projectIdOrPath)
Archive a project
|
Project |
ProjectApi.createForkedFromRelationship(Object projectIdOrPath,
Integer forkedFromId)
Create a forked from/to relation between existing projects.
|
Project |
ProjectApi.createProject(Integer namespaceId,
Project project)
Create a new project belonging to the namespace ID and project configuration.
|
Project |
ProjectApi.createProject(Integer namespaceId,
String projectName)
Create a new project belonging to the namespace ID.
|
Project |
ProjectApi.createProject(Project project)
Creates new project owned by the current user.
|
Project |
ProjectApi.createProject(Project project,
String importUrl)
Creates new project owned by the current user.
|
Project |
ProjectApi.createProject(String projectName)
Create a new project with the current user's namespace.
|
Project |
ProjectApi.createProject(String name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Boolean isPublic,
Integer visibilityLevel,
String importUrl)
Deprecated.
As of release 4.2.0, replaced by
ProjectApi.createProject(String, Integer, String, Boolean, Boolean,
Boolean, Boolean, Visibility, Integer, String) |
Project |
ProjectApi.createProject(String name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Visibility visibility,
Integer visibilityLevel,
Boolean printingMergeRequestLinkEnabled,
String importUrl)
Creates a Project
|
Project |
ProjectApi.createProject(String name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Visibility visibility,
Integer visibilityLevel,
String importUrl)
Creates a Project
|
Project |
ProjectApi.forkProject(Object projectIdOrPath,
Integer namespaceId)
Forks a project into the user namespace of the authenticated user or the one provided.
|
Project |
ProjectApi.forkProject(Object projectIdOrPath,
String namespace)
Forks a project into the user namespace of the authenticated user or the one provided.
|
Project |
ProjectApi.getProject(Object projectIdOrPath)
Get a specific project, which is owned by the authentication user.
|
Project |
ProjectApi.getProject(Object projectIdOrPath,
Boolean includeStatistics)
Get a specific project, which is owned by the authentication user.
|
Project |
ProjectApi.getProject(String namespace,
String project)
Get a specific project, which is owned by the authentication user.
|
Project |
ProjectApi.getProject(String namespace,
String project,
Boolean includeStatistics)
Get a specific project, which is owned by the authentication user.
|
Project |
ProjectApi.setProjectAvatar(Object projectIdOrPath,
File avatarFile)
Uploads and sets the project avatar for the specified project.
|
Project |
ProjectApi.starProject(Object projectIdOrPath)
Star a project.
|
Project |
GroupApi.transferProject(Object groupIdOrPath,
Object projectIdOrPath)
Transfer a project to the Group namespace.
|
Project |
ProjectApi.transferProject(Object projectIdOrPath,
String namespace)
Transfer a project to a new namespace.
|
Project |
ProjectApi.unarchiveProject(Object projectIdOrPath)
Unarchive a project
|
Project |
ProjectApi.unstarProject(Object projectIdOrPath)
Unstar a project.
|
Project |
ProjectApi.updateProject(Project project)
Updates a project.
|
Modifier and Type | Method and Description |
---|---|
List<Project> |
ProjectApi.getForks(Object projectIdOrPath)
Get a list of projects that were forked from the specified project.
|
Pager<Project> |
ProjectApi.getForks(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of projects that were forked from the specified project.
|
List<Project> |
ProjectApi.getForks(Object projectIdOrPath,
int page,
int perPage)
Get a list of projects that were forked from the specified project and in the specified page range.
|
Stream<Project> |
ProjectApi.getForksStream(Object projectIdOrPath)
Get a Stream of projects that were forked from the specified project.
|
List<Project> |
ProjectApi.getMemberProjects()
Get a list of projects that the authenticated user is a member of.
|
Pager<Project> |
ProjectApi.getMemberProjects(int itemsPerPage)
Get a Pager of projects that the authenticated user is a member of.
|
List<Project> |
ProjectApi.getMemberProjects(int page,
int perPage)
Get a list of projects that the authenticated user is a member of in the specified page range.
|
Stream<Project> |
ProjectApi.getMemberProjectsStream()
Get a Stream of projects that the authenticated user is a member of.
|
Optional<Project> |
ProjectApi.getOptionalProject(Object projectIdOrPath)
Get an Optional instance with the value for the specific project, which is owned by the authentication user.
|
Optional<Project> |
ProjectApi.getOptionalProject(Object projectIdOrPath,
Boolean includeStatistics)
Get an Optional instance with the value for the specific project, which is owned by the authentication user.
|
Optional<Project> |
ProjectApi.getOptionalProject(String namespace,
String project)
Get an Optional instance with the value for the specific project, which is owned by the authentication user.
|
Optional<Project> |
ProjectApi.getOptionalProject(String namespace,
String project,
Boolean includeStatistics)
Get an Optional instance with the value for the specific project, which is owned by the authentication user.
|
List<Project> |
ProjectApi.getOwnedProjects()
Get a list of projects owned by the authenticated user.
|
Pager<Project> |
ProjectApi.getOwnedProjects(int itemsPerPage)
Get a Pager of projects owned by the authenticated user.
|
List<Project> |
ProjectApi.getOwnedProjects(int page,
int perPage)
Get a list of projects owned by the authenticated user in the specified page range.
|
Stream<Project> |
ProjectApi.getOwnedProjectsStream()
Get a Stream of projects owned by the authenticated user.
|
List<Project> |
ProjectApi.getProjects()
Get a list of projects accessible by the authenticated user.
|
List<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
Constants.ProjectOrderBy orderBy,
Constants.SortOrder sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics)
Get a list of projects accessible by the authenticated user and matching the supplied filter parameters.
|
Pager<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
Constants.ProjectOrderBy orderBy,
Constants.SortOrder sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics,
int itemsPerPage)
Get a Pager of projects accessible by the authenticated user and matching the supplied filter parameters.
|
List<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
Constants.ProjectOrderBy orderBy,
Constants.SortOrder sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics,
int page,
int perPage)
Get a list of projects accessible by the authenticated user and matching the supplied filter parameters.
|
List<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
String orderBy,
String sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics)
Deprecated.
Will be removed in version 5.0, replaced by
ProjectApi.getProjects(Boolean, Visibility,
Constants.ProjectOrderBy, Constants.SortOrder, String, Boolean, Boolean, Boolean, Boolean, Boolean) |
Pager<Project> |
ProjectApi.getProjects(int itemsPerPage)
Get a Pager instance of projects accessible by the authenticated user.
|
List<Project> |
ProjectApi.getProjects(int page,
int perPage)
Get a list of projects accessible by the authenticated user and in the specified page range.
|
List<Project> |
GroupApi.getProjects(Object groupIdOrPath)
Get a list of projects belonging to the specified group ID.
|
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.
|
Pager<Project> |
GroupApi.getProjects(Object groupIdOrPath,
int itemsPerPage)
Get a Pager of projects belonging to the specified group ID.
|
List<Project> |
GroupApi.getProjects(Object groupIdOrPath,
int page,
int perPage)
Get a list of projects belonging to the specified group ID in the specified page range.
|
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.
|
List<Project> |
ProjectApi.getProjects(String search)
Get a list of projects accessible by the authenticated user that match the provided search string.
|
Pager<Project> |
ProjectApi.getProjects(String search,
int itemsPerPage)
Get a Pager of projects accessible by the authenticated user that match the provided search string.
|
List<Project> |
ProjectApi.getProjects(String search,
int page,
int perPage)
Get a list of projects accessible by the authenticated user that match the provided search string.
|
Stream<Project> |
ProjectApi.getProjectsStream()
Get a Stream of projects accessible by the authenticated user.
|
Stream<Project> |
GroupApi.getProjectsStream(Object groupIdOrPath)
Get a Stream of projects belonging to the specified group ID.
|
Stream<Project> |
GroupApi.getProjectsStream(Object groupIdOrPath,
GroupProjectsFilter filter)
Get a Stream of projects belonging to the specified group ID and filter.
|
Stream<Project> |
ProjectApi.getProjectsStream(ProjectFilter filter)
Get a Stream of all visible projects across GitLab for the authenticated user using the provided filter.
|
Stream<Project> |
ProjectApi.getProjectsStream(String search)
Get a Stream of projects accessible by the authenticated user that match the provided search string.
|
List<Project> |
ProjectApi.getStarredProjects()
Get a list of projects starred by the authenticated user.
|
Pager<Project> |
ProjectApi.getStarredProjects(int itemsPerPage)
Get a Pager of projects starred by the authenticated user.
|
List<Project> |
ProjectApi.getStarredProjects(int page,
int perPage)
Get a list of projects starred by the authenticated user in the specified page range.
|
Stream<Project> |
ProjectApi.getStarredProjectsStream()
Get a Stream of projects starred by the authenticated user.
|
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 |
---|---|
Project |
ProjectApi.createProject(Integer namespaceId,
Project project)
Create a new project belonging to the namespace ID and project configuration.
|
Project |
ProjectApi.createProject(Project project)
Creates new project owned by the current user.
|
Project |
ProjectApi.createProject(Project project,
String importUrl)
Creates new project owned by the current user.
|
ImportStatus |
ImportExportApi.startImport(Object namespaceIdOrPath,
File exportFile,
String path,
Boolean overwrite,
Project overrideParams)
Import an exported project.
|
Project |
ProjectApi.updateProject(Project project)
Updates a project.
|
Modifier and Type | Method and Description |
---|---|
Project |
Project.getForkedFromProject() |
Project |
Board.getProject() |
Project |
Project.withApprovalsBeforeMerge(Integer approvalsBeforeMerge) |
Project |
Project.withContainerRegistryEnabled(boolean containerRegistryEnabled) |
Project |
Project.withDefaultBranch(String defaultBranch) |
Project |
Project.withDescription(String description) |
Project |
Project.withId(Integer id) |
Project |
Project.withInitializeWithReadme(boolean initializeWithReadme) |
Project |
Project.withIssuesEnabled(boolean issuesEnabled) |
Project |
Project.withJobsEnabled(boolean jobsEnabled) |
Project |
Project.withLfsEnabled(Boolean lfsEnabled) |
Project |
Project.withMergeMethod(Project.MergeMethod mergeMethod) |
Project |
Project.withMergeRequestsEnabled(boolean mergeRequestsEnabled) |
Project |
Project.withName(String name) |
Project |
Project.withNamespace(Namespace namespace) |
Project |
Project.withNamespaceId(int namespaceId) |
Project |
Project.withOnlyAllowMergeIfAllDiscussionsAreResolved(Boolean onlyAllowMergeIfAllDiscussionsAreResolved) |
Project |
Project.withOnlyAllowMergeIfPipelineSucceeds(Boolean onlyAllowMergeIfPipelineSucceeds) |
Project |
Project.withPackagesEnabled(Boolean packagesEnabled) |
Project |
Project.withPath(String path) |
Project |
Project.withPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkEnabled) |
Project |
Project.withPublic(Boolean isPublic) |
Project |
Project.withPublicJobs(boolean publicJobs) |
Project |
Project.withRepositoryStorage(String repositoryStorage) |
Project |
Project.withRequestAccessEnabled(boolean requestAccessEnabled) |
Project |
Project.withResolveOutdatedDiffDiscussions(boolean resolveOutdatedDiffDiscussions) |
Project |
Project.withSharedRunnersEnabled(boolean sharedRunnersEnabled) |
Project |
Project.withSnippetsEnabled(boolean snippetsEnabled) |
Project |
Project.withTagList(List<String> tagList) |
Project |
Project.withVisibility(Visibility visibility) |
Project |
Project.withVisibilityLevel(Integer visibilityLevel) |
Project |
Project.withWallEnabled(Boolean wallEnabled) |
Project |
Project.withWebUrl(String webUrl) |
Project |
Project.withWikiEnabled(boolean wikiEnabled) |
Modifier and Type | Method and Description |
---|---|
List<Project> |
RunnerDetail.getProjects() |
List<Project> |
Group.getProjects() |
List<Project> |
Group.getSharedProjects() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Project.isValid(Project project) |
void |
Project.setForkedFromProject(Project forkedFromProject) |
void |
Board.setProject(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
RunnerDetail.setProjects(List<Project> projects) |
void |
Group.setProjects(List<Project> projects) |
void |
Group.setSharedProjects(List<Project> sharedProjects) |
RunnerDetail |
RunnerDetail.withProjects(List<Project> projects) |
Group |
Group.withProjects(List<Project> projects) |
Group |
Group.withSharedProjects(List<Project> sharedProjects) |
Copyright © 2019. All rights reserved.