Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method | Description |
---|---|---|
Group |
GroupApi.addGroup(String name,
String path) |
Creates a new project group.
|
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.
|
Group |
GroupApi.getGroup(Integer groupId) |
Get all details of a group.
|
Group |
GroupApi.getGroup(String groupPath) |
Get all details of a group.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
List<Group> |
GroupApi.getGroups() |
Get a list of groups.
|
Pager<Group> |
GroupApi.getGroups(int itemsPerPage) |
Get a Pager of groups.
|
List<Group> |
GroupApi.getGroups(int page,
int perPage) |
Get a list of groups (As user: my groups, as admin: all groups) and in the specified page range.
|
List<Group> |
GroupApi.getGroups(String search) |
Get all groups that match your string in their name or path.
|
Pager<Group> |
GroupApi.getGroups(String search,
int itemsPerPage) |
Get all groups that match your string in their name or path.
|
List<Group> |
GroupApi.getGroups(String search,
int page,
int perPage) |
Get all groups that match your string in their name or path.
|
Optional<Group> |
GroupApi.getOptionalGroup(Integer groupId) |
Get all details of a group as an Optional instance.
|
Optional<Group> |
GroupApi.getOptionalGroup(String groupPath) |
Get all details of a group as an Optional instance.
|
List<Group> |
GroupApi.getSubGroups(Integer groupId) |
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Integer groupId,
int itemsPerPage) |
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Integer groupId,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned) |
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Integer groupId,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned,
int itemsPerPage) |
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Integer groupId,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned,
int page,
int perPage) |
Get a list of visible direct subgroups in this group.
|
Modifier and Type | Method | Description |
---|---|---|
void |
GroupApi.deleteGroup(Group group) |
Removes group with all projects inside.
|
Copyright © 2018. All rights reserved.