Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
Project |
ProjectApi.createProject(Integer groupId,
String projectName)
Create a new project in the specified group.
|
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 name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean wallEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Boolean publik,
Integer visibilityLevel,
String importUrl)
Creates a Project
|
Project |
ProjectApi.getProject(Integer projectId)
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.
|
Modifier and Type | Method and Description |
---|---|
List<Project> |
ProjectApi.getAllProjects()
Get a list of all GitLab projects (admin only).
|
List<Project> |
ProjectApi.getOwnedProjects()
Get a list of projects owned by the authenticated user.
|
List<Project> |
ProjectApi.getProjects()
Get a list of projects accessible by the authenticated user.
|
Modifier and Type | Method and Description |
---|---|
ProjectHook |
ProjectApi.addHook(Project project,
String url,
boolean doPushEvents,
boolean doIssuesEvents,
boolean doMergeRequestsEvents)
Adds a hook to project.
|
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.
|
void |
ServicesApi.deleteGitLabCI(Project project)
DELETE /projects/:id/services/gitlab-ci
|
void |
ServicesApi.deleteHipChat(Project project)
Deletes the gitlab-ci service.
|
void |
ProjectApi.deleteProject(Project project)
Removes project with all resources(issues, merge requests etc).
|
void |
ServicesApi.setGitLabCI(Project project,
String token,
String projectCIUrl)
Activates the gitlab-ci service.
|
void |
ServicesApi.setHipChat(Project project,
String token,
String room,
String server)
Activates HipChat notifications.
|
Modifier and Type | Method and Description |
---|---|
Project |
Project.getForkedFromProject() |
Modifier and Type | Method and Description |
---|---|
List<Project> |
Group.getProjects() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Project.isValid(Project project) |
void |
Project.setForkedFromProject(Project forkedFromProject) |
Modifier and Type | Method and Description |
---|---|
void |
Group.setProjects(List<Project> projects) |
Copyright © 2017. All rights reserved.