Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models | |
org.gitlab4j.api.systemhooks |
Modifier and Type | Method | Description |
---|---|---|
Group |
GroupApi.addGroup(String name,
String path,
String description,
Boolean membershipLock,
Boolean shareWithGroupLock,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId,
Integer sharedRunnersMinutesLimit) |
Deprecated.
Will be removed in version 5.0, replaced by
GroupApi.addGroup(String, String, String, Visibility,
Boolean, Boolean, Integer) |
Group |
GroupApi.addGroup(String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId) |
Creates a new project group.
|
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
|
Snippet |
ProjectApi.createSnippet(Integer projectId,
String title,
String filename,
String description,
String code,
Visibility visibility) |
Creates a new project snippet.
|
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) |
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.
|
Group |
GroupApi.updateGroup(Integer groupId,
String name,
String path,
String description,
Boolean membershipLock,
Boolean shareWithGroupLock,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId,
Integer sharedRunnersMinutesLimit) |
Deprecated.
Will be removed in version 5.0, replaced by
GroupApi.updateGroup(Integer, String, String, String,
Visibility, Boolean, Boolean, Integer) |
Group |
GroupApi.updateGroup(Integer groupId,
String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId) |
Updates a project group.
|
Snippet |
ProjectApi.updateSnippet(Integer projectId,
Integer snippetId,
String title,
String filename,
String description,
String code,
Visibility visibility) |
Updates an existing project snippet.
|
Modifier and Type | Method | Description |
---|---|---|
static Visibility |
Visibility.forValue(String value) |
|
Visibility |
Group.getVisibility() |
|
Visibility |
Project.getVisibility() |
|
static Visibility |
Visibility.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Visibility[] |
Visibility.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Group.setVisibility(Visibility visibility) |
|
void |
Project.setVisibility(Visibility visibility) |
|
Project |
Project.withVisibility(Visibility visibility) |
Modifier and Type | Method | Description |
---|---|---|
Visibility |
ProjectSystemHookEvent.getProjectVisibility() |
|
Visibility |
TeamMemberSystemHookEvent.getProjectVisibility() |
Modifier and Type | Method | Description |
---|---|---|
void |
ProjectSystemHookEvent.setProjectVisibility(Visibility projectVisibility) |
|
void |
TeamMemberSystemHookEvent.setProjectVisibility(Visibility projectVisibility) |
Copyright © 2018. All rights reserved.