Uses of Class
org.gitlab4j.api.models.Snippet
Packages that use Snippet
-
Uses of Snippet in org.gitlab4j.api
Methods in org.gitlab4j.api that return SnippetModifier and TypeMethodDescriptionProjectApi.createSnippet
(Object projectIdOrPath, String title, String filename, String description, String content, Visibility visibility) Creates a new project snippet.SnippetsApi.createSnippet
(String title, String fileName, String content) Create a new Snippet.SnippetsApi.createSnippet
(String title, String fileName, String content, Visibility visibility, String description) Create a new Snippet.ProjectApi.getSnippet
(Object projectIdOrPath, Long snippetId) Get a single of project snippet.SnippetsApi.getSnippet
(Long snippetId) Get a specific Snippet.SnippetsApi.getSnippet
(Long snippetId, boolean downloadContent) Get a specific Snippet.ProjectApi.updateSnippet
(Object projectIdOrPath, Long snippetId, String title, String filename, String description, String code, Visibility visibility) Updates an existing project snippet.Methods in org.gitlab4j.api that return types with arguments of type SnippetModifier and TypeMethodDescriptionProjectApi.getOptionalSnippet
(Object projectIdOrPath, Long snippetId) Get a single of project snippet as an Optional instance.SnippetsApi.getOptionalSnippet
(Long snippetId) Get a specific snippet as an Optional instance.SnippetsApi.getOptionalSnippet
(Long snippetId, boolean downloadContent) Get a specific snippet as an Optional instance.ProjectApi.getSnippets
(Object projectIdOrPath) Get a list of the project snippets.ProjectApi.getSnippets
(Object projectIdOrPath, int itemsPerPage) Get a Pager of project's snippets.ProjectApi.getSnippets
(Object projectIdOrPath, int page, int perPage) Get a list of project snippets.SnippetsApi.getSnippets()
Get a list of the authenticated user's snippets.SnippetsApi.getSnippets
(boolean downloadContent) Get a list of the authenticated user's snippets.SnippetsApi.getSnippets
(int itemsPerPage) Get a Pager of the authenticated user's snippets.ProjectApi.getSnippetsStream
(Object projectIdOrPath) Get a Stream of the project snippets.SnippetsApi.getSnippetsStream()
Get a Stream of the authenticated user's snippets.