Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
Snippet |
ProjectApi.createSnippet(Object projectIdOrPath,
String title,
String filename,
String description,
String code,
Visibility visibility)
Creates a new project snippet.
|
Snippet |
SnippetsApi.createSnippet(String title,
String fileName,
String content)
Create a new Snippet.
|
Snippet |
SnippetsApi.createSnippet(String title,
String fileName,
String content,
Visibility visibility,
String description)
Create a new Snippet.
|
Snippet |
SnippetsApi.getSnippet(Integer snippetId)
Get a specific Snippet.
|
Snippet |
SnippetsApi.getSnippet(Integer snippetId,
boolean downloadContent)
Get a specific Snippet.
|
Snippet |
ProjectApi.getSnippet(Object projectIdOrPath,
Integer snippetId)
Get a single of project snippet.
|
Snippet |
ProjectApi.updateSnippet(Object projectIdOrPath,
Integer snippetId,
String title,
String filename,
String description,
String code,
Visibility visibility)
Updates an existing project snippet.
|
Modifier and Type | Method and Description |
---|---|
Optional<Snippet> |
SnippetsApi.getOptionalSnippet(Integer snippetId)
Get a specific snippet as an Optional instance.
|
Optional<Snippet> |
SnippetsApi.getOptionalSnippet(Integer snippetId,
boolean downloadContent)
Get a specific snippet as an Optional instance.
|
Optional<Snippet> |
ProjectApi.getOptionalSnippet(Object projectIdOrPath,
Integer snippetId)
Get a single of project snippet as an Optional instance.
|
List<Snippet> |
SnippetsApi.getSnippets()
Get a list of the authenticated user's snippets.
|
List<Snippet> |
SnippetsApi.getSnippets(boolean downloadContent)
Get a list of the authenticated user's snippets.
|
Pager<Snippet> |
SnippetsApi.getSnippets(int itemsPerPage)
Get a Pager of the authenticated user's snippets.
|
List<Snippet> |
ProjectApi.getSnippets(Object projectIdOrPath)
Get a list of the project snippets.
|
Pager<Snippet> |
ProjectApi.getSnippets(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of project's snippets.
|
List<Snippet> |
ProjectApi.getSnippets(Object projectIdOrPath,
int page,
int perPage)
Get a list of project snippets.
|
Stream<Snippet> |
SnippetsApi.getSnippetsStream()
Get a Stream of the authenticated user's snippets.
|
Stream<Snippet> |
ProjectApi.getSnippetsStream(Object projectIdOrPath)
Get a Stream of the project snippets.
|
Copyright © 2019. All rights reserved.