Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
Badge |
ProjectApi.addBadge(Object projectIdOrPath,
String linkUrl,
String imageUrl)
Add a badge to a project.
|
Badge |
GroupApi.addBadge(Object groupIdOrPath,
String linkUrl,
String imageUrl)
Add a badge to a group.
|
Badge |
ProjectApi.editBadge(Object projectIdOrPath,
Integer badgeId,
String linkUrl,
String imageUrl)
Edit a badge of a project.
|
Badge |
GroupApi.editBadge(Object groupIdOrPath,
Integer badgeId,
String linkUrl,
String imageUrl)
Edit a badge of a group.
|
Badge |
ProjectApi.getBadge(Object projectIdOrPath,
Integer badgeId)
Gets a badge of a project.
|
Badge |
GroupApi.getBadge(Object groupIdOrPath,
Integer badgeId)
Gets a badge of a group.
|
Badge |
ProjectApi.previewBadge(Object projectIdOrPath,
String linkUrl,
String imageUrl)
Returns how the link_url and image_url final URLs would be after resolving the placeholder interpolation.
|
Badge |
GroupApi.previewBadge(Object groupIdOrPath,
String linkUrl,
String imageUrl)
Returns how the link_url and image_url final URLs would be after resolving the placeholder interpolation.
|
Modifier and Type | Method and Description |
---|---|
List<Badge> |
ProjectApi.getBadges(Object projectIdOrPath)
Gets a list of a project’s badges and its group badges.
|
List<Badge> |
GroupApi.getBadges(Object groupIdOrPath)
Gets a list of a group’s badges and its group badges.
|
Optional<Badge> |
ProjectApi.getOptionalBadge(Object projectIdOrPath,
Integer badgeId)
Get an Optional instance with the value for the specified badge.
|
Optional<Badge> |
GroupApi.getOptionalBadge(Object groupIdOrPath,
Integer badgeId)
Get an Optional instance with the value for the specified badge.
|
Copyright © 2019. All rights reserved.