Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
Snippet |
ProjectApi.createSnippet(Integer projectId,
String title,
String filename,
String description,
String code,
Visibility visibility)
Creates a new project snippet.
|
Snippet |
ProjectApi.getSnippet(Integer projectId,
Integer snippetId)
Get a single of project snippet.
|
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 and Description |
---|---|
List<Snippet> |
ProjectApi.getSnippets(Integer projectId)
Get a list of project snippets.
|
Pager<Snippet> |
ProjectApi.getSnippets(Integer projectId,
int itemsPerPage)
Get a Pager of project's snippets.
|
List<Snippet> |
ProjectApi.getSnippets(Integer projectId,
int page,
int perPage)
Get a list of project snippets.
|
Copyright © 2017. All rights reserved.