Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
Group |
GroupApi.addGroup(Group group) |
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(Object groupIdOrPath)
Get all details of a group.
|
Group |
GroupApi.updateGroup(Group group)
Updates a project group.
|
Group |
GroupApi.updateGroup(Object groupIdOrPath,
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(Object, String, String, String,
Visibility, Boolean, Boolean, Integer) |
Group |
GroupApi.updateGroup(Object groupIdOrPath,
String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId)
Updates a project group.
|
Modifier and Type | Method and Description |
---|---|
List<Group> |
GroupApi.getGroups()
Get a list of groups.
|
List<Group> |
GroupApi.getGroups(GroupFilter filter)
Get a list of visible groups for the authenticated user using the provided filter.
|
Pager<Group> |
GroupApi.getGroups(GroupFilter filter,
int itemsPerPage)
Get a Pager of visible groups for the authenticated user using the provided filter.
|
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.
|
Stream<Group> |
GroupApi.getGroupsStream()
Get a Stream of groups.
|
Stream<Group> |
GroupApi.getGroupsStream(GroupFilter filter)
Get a Stream of visible groups for the authenticated user using the provided filter.
|
Stream<Group> |
GroupApi.getGroupsStream(String search)
Get all groups that match your string in their name or path as a Stream.
|
Optional<Group> |
GroupApi.getOptionalGroup(Object groupIdOrPath)
Get all details of a group as an Optional instance.
|
List<Group> |
GroupApi.getSubGroups(Object groupIdOrPath)
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Object groupIdOrPath,
int itemsPerPage)
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Object groupIdOrPath,
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(Object groupIdOrPath,
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(Object groupIdOrPath,
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.
|
Stream<Group> |
GroupApi.getSubGroupsStream(Object groupIdOrPath)
Get a Stream of visible direct subgroups in this group.
|
Stream<Group> |
GroupApi.getSubGroupsStream(Object groupIdOrPath,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned)
Get a Stream of visible direct subgroups in this group.
|
Modifier and Type | Method and Description |
---|---|
Group |
GroupApi.addGroup(Group group) |
Group |
GroupApi.updateGroup(Group group)
Updates a project group.
|
Modifier and Type | Method and Description |
---|---|
Group |
Group.withAvatarUrl(String avatarUrl) |
Group |
Group.withDescription(String description) |
Group |
Group.withFullName(String fullName) |
Group |
Group.withFullPath(String fullPath) |
Group |
Group.withId(Integer id) |
Group |
Group.withlfsEnabled(boolean lfsEnabled) |
Group |
Group.withName(String name) |
Group |
Group.withParentId(Integer parentId) |
Group |
Group.withPath(String path) |
Group |
Group.withProjects(List<Project> projects) |
Group |
Group.withRequestAccessEnabled(boolean requestAccessEnabled) |
Group |
Group.withSharedProjects(List<Project> sharedProjects) |
Group |
Group.withSharedRunnersMinutesLimit(Integer minutesLimit) |
Group |
Group.withStatistics(Group.Statistics statistics) |
Group |
Group.withVisibility(Visibility visibility) |
Group |
Group.withWebUrl(String url) |
Copyright © 2019. All rights reserved.