| Package | Description |
|---|---|
| org.gitlab4j.api |
| Modifier and Type | Method and Description |
|---|---|
ProtectedTag |
TagsApi.getProtectedTag(Object projectIdOrPath,
String name)
Gets a single protected tag or wildcard protected tag
GitLab Endpoint: GET /projects/:id/protected_tags/:name |
ProtectedTag |
TagsApi.protectTag(Object projectIdOrPath,
String name,
AccessLevel createAccessLevel)
Protects a single repository tag or several project repository tags using a wildcard protected tag.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ProtectedTag> |
TagsApi.getOptionalProtectedTag(Object projectIdOrPath,
String name)
Get an Optional instance holding a protected tag or wildcard protected tag.
|
List<ProtectedTag> |
TagsApi.getProtectedTags(Object projectIdOrPath)
Gets a list of protected tags from a project.
|
Pager<ProtectedTag> |
TagsApi.getProtectedTags(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of protected tags for a project.
|
List<ProtectedTag> |
TagsApi.getProtectedTags(Object projectIdOrPath,
int page,
int perPage)
Gets a list of protected tags from a project and in the specified page range.
|
Stream<ProtectedTag> |
TagsApi.getProtectedTagsStream(Object projectIdOrPath)
Get a Stream of protected tags for a project.
|
Copyright © 2021. All rights reserved.