id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
64,500
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/ProtectedBranchesApi.java
ProtectedBranchesApi.unprotectBranch
public void unprotectBranch(Integer projectIdOrPath, String branchName) throws GitLabApiException { delete(Response.Status.NO_CONTENT, null, "projects", getProjectIdOrPath(projectIdOrPath), "protected_branches", urlEncode(branchName)); }
java
public void unprotectBranch(Integer projectIdOrPath, String branchName) throws GitLabApiException { delete(Response.Status.NO_CONTENT, null, "projects", getProjectIdOrPath(projectIdOrPath), "protected_branches", urlEncode(branchName)); }
[ "public", "void", "unprotectBranch", "(", "Integer", "projectIdOrPath", ",", "String", "branchName", ")", "throws", "GitLabApiException", "{", "delete", "(", "Response", ".", "Status", ".", "NO_CONTENT", ",", "null", ",", "\"projects\"", ",", "getProjectIdOrPath", ...
Unprotects the given protected branch or wildcard protected branch. <pre><code>GitLab Endpoint: DELETE /projects/:id/protected_branches/:name</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param branchName the name of the branch to un-protect @throws ...
[ "Unprotects", "the", "given", "protected", "branch", "or", "wildcard", "protected", "branch", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/ProtectedBranchesApi.java#L68-L70
64,501
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getCommits
public List<Commit> getCommits(Object projectIdOrPath, String ref, String path) throws GitLabApiException { return (getCommits(projectIdOrPath, ref, null, null, path, getDefaultPerPage()).all()); }
java
public List<Commit> getCommits(Object projectIdOrPath, String ref, String path) throws GitLabApiException { return (getCommits(projectIdOrPath, ref, null, null, path, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Commit", ">", "getCommits", "(", "Object", "projectIdOrPath", ",", "String", "ref", ",", "String", "path", ")", "throws", "GitLabApiException", "{", "return", "(", "getCommits", "(", "projectIdOrPath", ",", "ref", ",", "null", ",", "n...
Get a list of file commits in a project <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits?path=:file_path</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param ref the name of a repository branch or tag or if not given the default branch...
[ "Get", "a", "list", "of", "file", "commits", "in", "a", "project" ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L116-L118
64,502
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getCommits
public Pager<Commit> getCommits(Object projectIdOrPath, String ref, Date since, Date until, String path, int itemsPerPage) throws GitLabApiException { Form formData = new GitLabApiForm() .withParam("ref_name", ref) .withParam("since", ISO8601.toString(since, false)) ...
java
public Pager<Commit> getCommits(Object projectIdOrPath, String ref, Date since, Date until, String path, int itemsPerPage) throws GitLabApiException { Form formData = new GitLabApiForm() .withParam("ref_name", ref) .withParam("since", ISO8601.toString(since, false)) ...
[ "public", "Pager", "<", "Commit", ">", "getCommits", "(", "Object", "projectIdOrPath", ",", "String", "ref", ",", "Date", "since", ",", "Date", "until", ",", "String", "path", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "Form", "for...
Get a Pager of repository commits in a project <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param ref the name of a repository branch or tag or if not given the default branch @param s...
[ "Get", "a", "Pager", "of", "repository", "commits", "in", "a", "project" ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L245-L252
64,503
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getCommit
public Commit getCommit(Object projectIdOrPath, String sha) throws GitLabApiException { Response response = get(Response.Status.OK, getDefaultPerPageParam(), "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", urlEncode(sha)); return (response.readEntity(Commit.class)); }
java
public Commit getCommit(Object projectIdOrPath, String sha) throws GitLabApiException { Response response = get(Response.Status.OK, getDefaultPerPageParam(), "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", urlEncode(sha)); return (response.readEntity(Commit.class)); }
[ "public", "Commit", "getCommit", "(", "Object", "projectIdOrPath", ",", "String", "sha", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "getDefaultPerPageParam", "(", ")", ",", "\"p...
Get a specific commit identified by the commit hash or name of a branch or tag. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha a commit hash or name of a branch or tag @re...
[ "Get", "a", "specific", "commit", "identified", "by", "the", "commit", "hash", "or", "name", "of", "a", "branch", "or", "tag", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L264-L267
64,504
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getCommitStatuses
public Pager<CommitStatus> getCommitStatuses(Object projectIdOrPath, String sha, CommitStatusFilter filter, int itemsPerPage) throws GitLabApiException { if (projectIdOrPath == null) { throw new RuntimeException("projectIdOrPath cannot be null"); } if (sha == null || s...
java
public Pager<CommitStatus> getCommitStatuses(Object projectIdOrPath, String sha, CommitStatusFilter filter, int itemsPerPage) throws GitLabApiException { if (projectIdOrPath == null) { throw new RuntimeException("projectIdOrPath cannot be null"); } if (sha == null || s...
[ "public", "Pager", "<", "CommitStatus", ">", "getCommitStatuses", "(", "Object", "projectIdOrPath", ",", "String", "sha", ",", "CommitStatusFilter", "filter", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "if", "(", "projectIdOrPath", "==", ...
Get a Pager of repository commit statuses that meet the provided filter. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/statuses</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha the commit SHA @param filter the commit st...
[ "Get", "a", "Pager", "of", "repository", "commit", "statuses", "that", "meet", "the", "provided", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L379-L393
64,505
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getCommitStatusesStream
public Stream<CommitStatus> getCommitStatusesStream(Object projectIdOrPath, String sha, CommitStatusFilter filter) throws GitLabApiException { return (getCommitStatuses(projectIdOrPath, sha, filter, getDefaultPerPage()).stream()); }
java
public Stream<CommitStatus> getCommitStatusesStream(Object projectIdOrPath, String sha, CommitStatusFilter filter) throws GitLabApiException { return (getCommitStatuses(projectIdOrPath, sha, filter, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "CommitStatus", ">", "getCommitStatusesStream", "(", "Object", "projectIdOrPath", ",", "String", "sha", ",", "CommitStatusFilter", "filter", ")", "throws", "GitLabApiException", "{", "return", "(", "getCommitStatuses", "(", "projectIdOrPath", ...
Get a Stream of repository commit statuses that meet the provided filter. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/statuses</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha the commit SHA @param filter the commit s...
[ "Get", "a", "Stream", "of", "repository", "commit", "statuses", "that", "meet", "the", "provided", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L406-L408
64,506
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getDiff
public List<Diff> getDiff(Object projectIdOrPath, String sha) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", sha, "diff"); return (response.readEntity(new GenericType<List<Diff>>() {})); }
java
public List<Diff> getDiff(Object projectIdOrPath, String sha) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", sha, "diff"); return (response.readEntity(new GenericType<List<Diff>>() {})); }
[ "public", "List", "<", "Diff", ">", "getDiff", "(", "Object", "projectIdOrPath", ",", "String", "sha", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"projects\"", ...
Get the list of diffs of a commit in a project. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/diff</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha a commit hash or name of a branch or tag @return a List of Diff instanc...
[ "Get", "the", "list", "of", "diffs", "of", "a", "commit", "in", "a", "project", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L463-L466
64,507
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getComments
public List<Comment> getComments(Object projectIdOrPath, String sha) throws GitLabApiException { return (getComments(projectIdOrPath, sha, getDefaultPerPage()).all()); }
java
public List<Comment> getComments(Object projectIdOrPath, String sha) throws GitLabApiException { return (getComments(projectIdOrPath, sha, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Comment", ">", "getComments", "(", "Object", "projectIdOrPath", ",", "String", "sha", ")", "throws", "GitLabApiException", "{", "return", "(", "getComments", "(", "projectIdOrPath", ",", "sha", ",", "getDefaultPerPage", "(", ")", ")", "...
Get the comments of a commit in a project. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/comments</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha a commit hash or name of a branch or tag @return a List of Comment insta...
[ "Get", "the", "comments", "of", "a", "commit", "in", "a", "project", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L478-L480
64,508
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getComments
public Pager<Comment> getComments(Object projectIdOrPath, String sha, int itemsPerPage) throws GitLabApiException { return new Pager<Comment>(this, Comment.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", sha, "comments"); }
java
public Pager<Comment> getComments(Object projectIdOrPath, String sha, int itemsPerPage) throws GitLabApiException { return new Pager<Comment>(this, Comment.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", sha, "comments"); }
[ "public", "Pager", "<", "Comment", ">", "getComments", "(", "Object", "projectIdOrPath", ",", "String", "sha", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "new", "Pager", "<", "Comment", ">", "(", "this", ",", "Comment", "...
Get a Pager of the comments of a commit in a project. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/comments</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha a commit hash or name of a branch or tag @param itemsPerPage ...
[ "Get", "a", "Pager", "of", "the", "comments", "of", "a", "commit", "in", "a", "project", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L493-L495
64,509
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.getCommentsStream
public Stream<Comment> getCommentsStream(Object projectIdOrPath, String sha) throws GitLabApiException { return (getComments(projectIdOrPath, sha, getDefaultPerPage()).stream()); }
java
public Stream<Comment> getCommentsStream(Object projectIdOrPath, String sha) throws GitLabApiException { return (getComments(projectIdOrPath, sha, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Comment", ">", "getCommentsStream", "(", "Object", "projectIdOrPath", ",", "String", "sha", ")", "throws", "GitLabApiException", "{", "return", "(", "getComments", "(", "projectIdOrPath", ",", "sha", ",", "getDefaultPerPage", "(", ")", ...
Get the comments of a commit in a project as a Stream. <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/comments</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha a commit hash or name of a branch or tag @return a Stream of...
[ "Get", "the", "comments", "of", "a", "commit", "in", "a", "project", "as", "a", "Stream", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L507-L509
64,510
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.addComment
public Comment addComment(Object projectIdOrPath, String sha, String note, String path, Integer line, LineType lineType) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("note", note, true) .withParam("path", path) .withParam("li...
java
public Comment addComment(Object projectIdOrPath, String sha, String note, String path, Integer line, LineType lineType) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("note", note, true) .withParam("path", path) .withParam("li...
[ "public", "Comment", "addComment", "(", "Object", "projectIdOrPath", ",", "String", "sha", ",", "String", "note", ",", "String", "path", ",", "Integer", "line", ",", "LineType", "lineType", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "...
Add a comment to a commit. In order to post a comment in a particular line of a particular file, you must specify the full commit SHA, the path, the line and lineType should be NEW. <pre><code>GitLab Endpoint: POST /projects/:id/repository/commits/:sha/comments</code></pre> @param projectIdOrPath the project in the ...
[ "Add", "a", "comment", "to", "a", "commit", ".", "In", "order", "to", "post", "a", "comment", "in", "a", "particular", "line", "of", "a", "particular", "file", "you", "must", "specify", "the", "full", "commit", "SHA", "the", "path", "the", "line", "and...
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L526-L534
64,511
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.addComment
public Comment addComment(Object projectIdOrPath, String sha, String note) throws GitLabApiException { return (addComment(projectIdOrPath, sha, note, null, null, null)); }
java
public Comment addComment(Object projectIdOrPath, String sha, String note) throws GitLabApiException { return (addComment(projectIdOrPath, sha, note, null, null, null)); }
[ "public", "Comment", "addComment", "(", "Object", "projectIdOrPath", ",", "String", "sha", ",", "String", "note", ")", "throws", "GitLabApiException", "{", "return", "(", "addComment", "(", "projectIdOrPath", ",", "sha", ",", "note", ",", "null", ",", "null", ...
Add a comment to a commit. <pre><code>GitLab Endpoint: POST /projects/:id/repository/commits/:sha/comments</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param sha a commit hash or name of a branch or tag @param note the text of the comment, required ...
[ "Add", "a", "comment", "to", "a", "commit", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L547-L549
64,512
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/CommitsApi.java
CommitsApi.createCommit
public Commit createCommit(Object projectIdOrPath, String branch, String commitMessage, String startBranch, String authorEmail, String authorName, List<CommitAction> actions) throws GitLabApiException { CommitPayload payload = new CommitPayload(); payload.setBranch(branch); payload....
java
public Commit createCommit(Object projectIdOrPath, String branch, String commitMessage, String startBranch, String authorEmail, String authorName, List<CommitAction> actions) throws GitLabApiException { CommitPayload payload = new CommitPayload(); payload.setBranch(branch); payload....
[ "public", "Commit", "createCommit", "(", "Object", "projectIdOrPath", ",", "String", "branch", ",", "String", "commitMessage", ",", "String", "startBranch", ",", "String", "authorEmail", ",", "String", "authorName", ",", "List", "<", "CommitAction", ">", "actions"...
Create a commit with multiple files and actions. <pre><code>GitLab Endpoint: POST /projects/:id/repository/commits</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param branch tame of the branch to commit into. To create a new branch, also provide star...
[ "Create", "a", "commit", "with", "multiple", "files", "and", "actions", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/CommitsApi.java#L566-L579
64,513
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/NotificationSettingsApi.java
NotificationSettingsApi.getGlobalNotificationSettings
public NotificationSettings getGlobalNotificationSettings() throws GitLabApiException { Response response = get(Response.Status.OK, null, "notification_settings"); return (response.readEntity(NotificationSettings.class)); }
java
public NotificationSettings getGlobalNotificationSettings() throws GitLabApiException { Response response = get(Response.Status.OK, null, "notification_settings"); return (response.readEntity(NotificationSettings.class)); }
[ "public", "NotificationSettings", "getGlobalNotificationSettings", "(", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"notification_settings\"", ")", ";", "return", "(", ...
Get the global notification settings. <pre><code>GitLab Endpoint: GET /notification_settings</code></pre> @return a NotificationSettings instance containing the global notification settings @throws GitLabApiException if any exception occurs
[ "Get", "the", "global", "notification", "settings", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/NotificationSettingsApi.java#L22-L25
64,514
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/NotificationSettingsApi.java
NotificationSettingsApi.updateGlobalNotificationSettings
public NotificationSettings updateGlobalNotificationSettings(NotificationSettings settings) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("level", settings.getLevel()) .withParam("email", settings.getEmail()); Events event...
java
public NotificationSettings updateGlobalNotificationSettings(NotificationSettings settings) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("level", settings.getLevel()) .withParam("email", settings.getEmail()); Events event...
[ "public", "NotificationSettings", "updateGlobalNotificationSettings", "(", "NotificationSettings", "settings", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "new", "GitLabApiForm", "(", ")", ".", "withParam", "(", "\"level\"", ",", "settings"...
Update the global notification settings. <pre><code>GitLab Endpoint: PUT /notification_settings</code></pre> @param settings a NotificationSettings instance with the new settings @return a NotificationSettings instance containing the updated global notification settings @throws GitLabApiException if any exception occ...
[ "Update", "the", "global", "notification", "settings", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/NotificationSettingsApi.java#L36-L60
64,515
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/NotificationSettingsApi.java
NotificationSettingsApi.getGroupNotificationSettings
public NotificationSettings getGroupNotificationSettings(int groupId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "groups", groupId, "notification_settings"); return (response.readEntity(NotificationSettings.class)); }
java
public NotificationSettings getGroupNotificationSettings(int groupId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "groups", groupId, "notification_settings"); return (response.readEntity(NotificationSettings.class)); }
[ "public", "NotificationSettings", "getGroupNotificationSettings", "(", "int", "groupId", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"groups\"", ",", "groupId", ",", ...
Get the notification settings for a group. <pre><code>GitLab Endpoint: GET /groups/:id/notification_settings</code></pre> @param groupId the group ID to get the notification settings for @return a NotificationSettings instance containing the specified group's notification settings @throws GitLabApiException if any ex...
[ "Get", "the", "notification", "settings", "for", "a", "group", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/NotificationSettingsApi.java#L71-L74
64,516
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/NotificationSettingsApi.java
NotificationSettingsApi.getProjectNotificationSettings
public NotificationSettings getProjectNotificationSettings(int projectId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", projectId, "notification_settings"); return (response.readEntity(NotificationSettings.class)); }
java
public NotificationSettings getProjectNotificationSettings(int projectId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", projectId, "notification_settings"); return (response.readEntity(NotificationSettings.class)); }
[ "public", "NotificationSettings", "getProjectNotificationSettings", "(", "int", "projectId", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"projects\"", ",", "projectId", ...
Get the notification settings for a project. <pre><code>GitLab Endpoint: GET /projects/:id/notification_settings</code></pre> @param projectId the project ID to get the notification settings for @return a NotificationSettings instance containing the specified project's notification settings @throws GitLabApiException...
[ "Get", "the", "notification", "settings", "for", "a", "project", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/NotificationSettingsApi.java#L121-L124
64,517
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/utils/JacksonJsonEnumHelper.java
JacksonJsonEnumHelper.addEnum
public void addEnum(E e, String name) { valuesMap.put(name, e); namesMap.put(e, name); }
java
public void addEnum(E e, String name) { valuesMap.put(name, e); namesMap.put(e, name); }
[ "public", "void", "addEnum", "(", "E", "e", ",", "String", "name", ")", "{", "valuesMap", ".", "put", "(", "name", ",", "e", ")", ";", "namesMap", ".", "put", "(", "e", ",", "name", ")", ";", "}" ]
Add an enum that has a specialized name that does not fit the standard naming conventions. @param e the enum to add @param name the name for the enum
[ "Add", "an", "enum", "that", "has", "a", "specialized", "name", "that", "does", "not", "fit", "the", "standard", "naming", "conventions", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/utils/JacksonJsonEnumHelper.java#L71-L74
64,518
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SessionApi.java
SessionApi.login
public Session login(String username, String email, String password) throws GitLabApiException { if ((username == null || username.trim().length() == 0) && (email == null || email.trim().length() == 0)) { throw new IllegalArgumentException("both username and email cannot be empty or null"); ...
java
public Session login(String username, String email, String password) throws GitLabApiException { if ((username == null || username.trim().length() == 0) && (email == null || email.trim().length() == 0)) { throw new IllegalArgumentException("both username and email cannot be empty or null"); ...
[ "public", "Session", "login", "(", "String", "username", ",", "String", "email", ",", "String", "password", ")", "throws", "GitLabApiException", "{", "if", "(", "(", "username", "==", "null", "||", "username", ".", "trim", "(", ")", ".", "length", "(", "...
Login to get private token. This functionality is not available on GitLab servers 10.2 and above. <pre><code>GitLab Endpoint: POST /session</code></pre> @param username the username to login @param email the email address to login @param password the password of the user @return a Session instance with info on the lo...
[ "Login", "to", "get", "private", "token", ".", "This", "functionality", "is", "not", "available", "on", "GitLab", "servers", "10", ".", "2", "and", "above", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SessionApi.java#L28-L41
64,519
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MarkdownApi.java
MarkdownApi.getMarkdown
public Markdown getMarkdown(String text) throws GitLabApiException { if (!isApiVersion(ApiVersion.V4)) { throw new GitLabApiException("Api version must be v4"); } Form formData = new GitLabApiForm().withParam("text", text, true); Response response = post(Response.Status.OK,...
java
public Markdown getMarkdown(String text) throws GitLabApiException { if (!isApiVersion(ApiVersion.V4)) { throw new GitLabApiException("Api version must be v4"); } Form formData = new GitLabApiForm().withParam("text", text, true); Response response = post(Response.Status.OK,...
[ "public", "Markdown", "getMarkdown", "(", "String", "text", ")", "throws", "GitLabApiException", "{", "if", "(", "!", "isApiVersion", "(", "ApiVersion", ".", "V4", ")", ")", "{", "throw", "new", "GitLabApiException", "(", "\"Api version must be v4\"", ")", ";", ...
Render an arbitrary Markdown document. <pre><code>GitLab Endpoint: POST /api/v4/markdown</code></pre> @param text text to be transformed @return a Markdown instance with transformed info @throws GitLabApiException if any exception occurs @since GitLab 11.0
[ "Render", "an", "arbitrary", "Markdown", "document", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MarkdownApi.java#L27-L36
64,520
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/utils/FileUtils.java
FileUtils.getFilenameFromContentDisposition
public static String getFilenameFromContentDisposition(Response response) { String disposition = response.getHeaderString("Content-Disposition"); if (disposition == null || disposition.trim().length() == 0) return (null); return (disposition.replaceFirst("(?i)^.*filename=\"([...
java
public static String getFilenameFromContentDisposition(Response response) { String disposition = response.getHeaderString("Content-Disposition"); if (disposition == null || disposition.trim().length() == 0) return (null); return (disposition.replaceFirst("(?i)^.*filename=\"([...
[ "public", "static", "String", "getFilenameFromContentDisposition", "(", "Response", "response", ")", "{", "String", "disposition", "=", "response", ".", "getHeaderString", "(", "\"Content-Disposition\"", ")", ";", "if", "(", "disposition", "==", "null", "||", "dispo...
Get the filename from the "Content-Disposition" header of a JAX-RS response. @param response the JAX-RS Response instance to get the "Content-Disposition" header filename from @return the filename from the "Content-Disposition" header of a JAX-RS response, or null if the "Content-Disposition" header is not present in...
[ "Get", "the", "filename", "from", "the", "Content", "-", "Disposition", "header", "of", "a", "JAX", "-", "RS", "response", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/utils/FileUtils.java#L55-L62
64,521
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/utils/FileUtils.java
FileUtils.readFileContents
public static String readFileContents(File file) throws IOException { try (Scanner in = new Scanner(file)) { in.useDelimiter("\\Z"); return (in.next()); } }
java
public static String readFileContents(File file) throws IOException { try (Scanner in = new Scanner(file)) { in.useDelimiter("\\Z"); return (in.next()); } }
[ "public", "static", "String", "readFileContents", "(", "File", "file", ")", "throws", "IOException", "{", "try", "(", "Scanner", "in", "=", "new", "Scanner", "(", "file", ")", ")", "{", "in", ".", "useDelimiter", "(", "\"\\\\Z\"", ")", ";", "return", "("...
Reads the contents of a File to a String. @param file the File instance to read the contents from @return the contents of file as a String @throws IOException if any errors occur while opening or reading the file
[ "Reads", "the", "contents", "of", "a", "File", "to", "a", "String", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/utils/FileUtils.java#L71-L77
64,522
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getGroupsStream
public Stream<Group> getGroupsStream(String search) throws GitLabApiException { return (getGroups(search, getDefaultPerPage()).stream()); }
java
public Stream<Group> getGroupsStream(String search) throws GitLabApiException { return (getGroups(search, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Group", ">", "getGroupsStream", "(", "String", "search", ")", "throws", "GitLabApiException", "{", "return", "(", "getGroups", "(", "search", ",", "getDefaultPerPage", "(", ")", ")", ".", "stream", "(", ")", ")", ";", "}" ]
Get all groups that match your string in their name or path as a Stream. @param search the group name or path search criteria @return a Stream containing matching Group instances @throws GitLabApiException if any exception occurs
[ "Get", "all", "groups", "that", "match", "your", "string", "in", "their", "name", "or", "path", "as", "a", "Stream", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L129-L131
64,523
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getGroups
public List<Group> getGroups(GroupFilter filter) throws GitLabApiException { return (getGroups(filter, getDefaultPerPage()).all()); }
java
public List<Group> getGroups(GroupFilter filter) throws GitLabApiException { return (getGroups(filter, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Group", ">", "getGroups", "(", "GroupFilter", "filter", ")", "throws", "GitLabApiException", "{", "return", "(", "getGroups", "(", "filter", ",", "getDefaultPerPage", "(", ")", ")", ".", "all", "(", ")", ")", ";", "}" ]
Get a list of visible groups for the authenticated user using the provided filter. <pre><code>GitLab Endpoint: GET /groups</code></pre> @param filter the GroupFilter to match against @return a List&lt;Group&gt; of the matching groups @throws GitLabApiException if any exception occurs
[ "Get", "a", "list", "of", "visible", "groups", "for", "the", "authenticated", "user", "using", "the", "provided", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L142-L144
64,524
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getGroups
public Pager<Group> getGroups(GroupFilter filter, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = filter.getQueryParams(); return (new Pager<Group>(this, Group.class, itemsPerPage, formData.asMap(), "groups")); }
java
public Pager<Group> getGroups(GroupFilter filter, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = filter.getQueryParams(); return (new Pager<Group>(this, Group.class, itemsPerPage, formData.asMap(), "groups")); }
[ "public", "Pager", "<", "Group", ">", "getGroups", "(", "GroupFilter", "filter", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "filter", ".", "getQueryParams", "(", ")", ";", "return", "(", "new", "Page...
Get a Pager of visible groups for the authenticated user using the provided filter. <pre><code>GitLab Endpoint: GET /groups</code></pre> @param filter the GroupFilter to match against @param itemsPerPage the number of Group instances that will be fetched per page @return a Pager containing matching Group instances @t...
[ "Get", "a", "Pager", "of", "visible", "groups", "for", "the", "authenticated", "user", "using", "the", "provided", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L156-L159
64,525
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getGroupsStream
public Stream<Group> getGroupsStream(GroupFilter filter) throws GitLabApiException { return (getGroups(filter, getDefaultPerPage()).stream()); }
java
public Stream<Group> getGroupsStream(GroupFilter filter) throws GitLabApiException { return (getGroups(filter, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Group", ">", "getGroupsStream", "(", "GroupFilter", "filter", ")", "throws", "GitLabApiException", "{", "return", "(", "getGroups", "(", "filter", ",", "getDefaultPerPage", "(", ")", ")", ".", "stream", "(", ")", ")", ";", "}" ]
Get a Stream of visible groups for the authenticated user using the provided filter. <pre><code>GitLab Endpoint: GET /groups</code></pre> @param filter the GroupFilter to match against @return a Stream&lt;Group&gt; of the matching groups @throws GitLabApiException if any exception occurs
[ "Get", "a", "Stream", "of", "visible", "groups", "for", "the", "authenticated", "user", "using", "the", "provided", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L170-L172
64,526
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getSubGroupsStream
public Stream<Group> getSubGroupsStream(Object groupIdOrPath) throws GitLabApiException { return (getSubGroups(groupIdOrPath, getDefaultPerPage()).stream()); }
java
public Stream<Group> getSubGroupsStream(Object groupIdOrPath) throws GitLabApiException { return (getSubGroups(groupIdOrPath, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Group", ">", "getSubGroupsStream", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "return", "(", "getSubGroups", "(", "groupIdOrPath", ",", "getDefaultPerPage", "(", ")", ")", ".", "stream", "(", ")", ")", "...
Get a Stream of visible direct subgroups in this group. <pre><code>GitLab Endpoint: GET /groups/:id/subgroups</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path, required @return a Stream&lt;Group&gt; containing the group's sub-groups @throws GitLabApiE...
[ "Get", "a", "Stream", "of", "visible", "direct", "subgroups", "in", "this", "group", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L213-L215
64,527
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getProjects
public Pager<Project> getProjects(Object groupIdOrPath, GroupProjectsFilter filter, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = filter.getQueryParams(); return (new Pager<Project>(this, Project.class, itemsPerPage, formData.asMap(), "groups", getGroupIdOrPath(groupIdOrPath), "...
java
public Pager<Project> getProjects(Object groupIdOrPath, GroupProjectsFilter filter, int itemsPerPage) throws GitLabApiException { GitLabApiForm formData = filter.getQueryParams(); return (new Pager<Project>(this, Project.class, itemsPerPage, formData.asMap(), "groups", getGroupIdOrPath(groupIdOrPath), "...
[ "public", "Pager", "<", "Project", ">", "getProjects", "(", "Object", "groupIdOrPath", ",", "GroupProjectsFilter", "filter", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "filter", ".", "getQueryParams", "(",...
Get a Pager of projects belonging to the specified group ID and filter. <pre><code>GitLab Endpoint: GET /groups/:id/projects</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param filter the GroupProjectsFilter instance holding the filter values for ...
[ "Get", "a", "Pager", "of", "projects", "belonging", "to", "the", "specified", "group", "ID", "and", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L353-L356
64,528
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getProjectsStream
public Stream<Project> getProjectsStream(Object groupIdOrPath, GroupProjectsFilter filter) throws GitLabApiException { return (getProjects(groupIdOrPath, filter, getDefaultPerPage()).stream()); }
java
public Stream<Project> getProjectsStream(Object groupIdOrPath, GroupProjectsFilter filter) throws GitLabApiException { return (getProjects(groupIdOrPath, filter, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Project", ">", "getProjectsStream", "(", "Object", "groupIdOrPath", ",", "GroupProjectsFilter", "filter", ")", "throws", "GitLabApiException", "{", "return", "(", "getProjects", "(", "groupIdOrPath", ",", "filter", ",", "getDefaultPerPage", ...
Get a Stream of projects belonging to the specified group ID and filter. <pre><code>GitLab Endpoint: GET /groups/:id/projects</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param filter the GroupProjectsFilter instance holding the filter values for...
[ "Get", "a", "Stream", "of", "projects", "belonging", "to", "the", "specified", "group", "ID", "and", "filter", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L368-L370
64,529
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getProjects
public List<Project> getProjects(Object groupIdOrPath) throws GitLabApiException { return (getProjects(groupIdOrPath, getDefaultPerPage()).all()); }
java
public List<Project> getProjects(Object groupIdOrPath) throws GitLabApiException { return (getProjects(groupIdOrPath, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Project", ">", "getProjects", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "return", "(", "getProjects", "(", "groupIdOrPath", ",", "getDefaultPerPage", "(", ")", ")", ".", "all", "(", ")", ")", ";", "}" ]
Get a list of projects belonging to the specified group ID. <pre><code>GitLab Endpoint: GET /groups/:id/projects</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @return a list of projects belonging to the specified group ID @throws GitLabApiException...
[ "Get", "a", "list", "of", "projects", "belonging", "to", "the", "specified", "group", "ID", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L381-L383
64,530
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getProjects
public List<Project> getProjects(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "projects"); return (response.readEntity(new GenericType<List<Project>>() {}...
java
public List<Project> getProjects(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "projects"); return (response.readEntity(new GenericType<List<Project>>() {}...
[ "public", "List", "<", "Project", ">", "getProjects", "(", "Object", "groupIdOrPath", ",", "int", "page", ",", "int", "perPage", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "...
Get a list of projects belonging to the specified group ID in the specified page range. <pre><code>GitLab Endpoint: GET /groups/:id/projects</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param page the page to get @param perPage the number of Proj...
[ "Get", "a", "list", "of", "projects", "belonging", "to", "the", "specified", "group", "ID", "in", "the", "specified", "page", "range", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L396-L399
64,531
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getProjects
public Pager<Project> getProjects(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Project>(this, Project.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "projects")); }
java
public Pager<Project> getProjects(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Project>(this, Project.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "projects")); }
[ "public", "Pager", "<", "Project", ">", "getProjects", "(", "Object", "groupIdOrPath", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Project", ">", "(", "this", ",", "Project", ".", "class", ",", ...
Get a Pager of projects belonging to the specified group ID. <pre><code>GitLab Endpoint: GET /groups/:id/projects</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param itemsPerPage the number of Project instances that will be fetched per page @retur...
[ "Get", "a", "Pager", "of", "projects", "belonging", "to", "the", "specified", "group", "ID", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L411-L413
64,532
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getGroup
public Group getGroup(Object groupIdOrPath) throws GitLabApiException { Response response = get(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath)); return (response.readEntity(Group.class)); }
java
public Group getGroup(Object groupIdOrPath) throws GitLabApiException { Response response = get(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath)); return (response.readEntity(Group.class)); }
[ "public", "Group", "getGroup", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"groups\"", ",", "getGroupIdOrPath", "(", "groupIdOrPath",...
Get all details of a group. <pre><code>GitLab Endpoint: GET /groups/:id</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @return the Group instance for the specified group path @throws GitLabApiException if any exception occurs
[ "Get", "all", "details", "of", "a", "group", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L437-L440
64,533
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getOptionalGroup
public Optional<Group> getOptionalGroup(Object groupIdOrPath) { try { return (Optional.ofNullable(getGroup(groupIdOrPath))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public Optional<Group> getOptionalGroup(Object groupIdOrPath) { try { return (Optional.ofNullable(getGroup(groupIdOrPath))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
[ "public", "Optional", "<", "Group", ">", "getOptionalGroup", "(", "Object", "groupIdOrPath", ")", "{", "try", "{", "return", "(", "Optional", ".", "ofNullable", "(", "getGroup", "(", "groupIdOrPath", ")", ")", ")", ";", "}", "catch", "(", "GitLabApiException...
Get all details of a group as an Optional instance. <pre><code>GitLab Endpoint: GET /groups/:id</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @return the Group for the specified group path as an Optional instance
[ "Get", "all", "details", "of", "a", "group", "as", "an", "Optional", "instance", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L450-L456
64,534
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.deleteGroup
public void deleteGroup(Object groupIdOrPath) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "groups", getGroupIdOrPath(groupIdOrPath)); }
java
public void deleteGroup(Object groupIdOrPath) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "groups", getGroupIdOrPath(groupIdOrPath)); }
[ "public", "void", "deleteGroup", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "Response", ".", "Status", "expectedStatus", "=", "(", "isApiVersion", "(", "ApiVersion", ".", "V3", ")", "?", "Response", ".", "Status", ".", "OK", ":",...
Removes group with all projects inside. <pre><code>GitLab Endpoint: DELETE /groups/:id</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @throws GitLabApiException if any exception occurs
[ "Removes", "group", "with", "all", "projects", "inside", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L660-L663
64,535
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getMembers
public List<Member> getMembers(Object groupIdOrPath) throws GitLabApiException { return (getMembers(groupIdOrPath, getDefaultPerPage()).all()); }
java
public List<Member> getMembers(Object groupIdOrPath) throws GitLabApiException { return (getMembers(groupIdOrPath, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Member", ">", "getMembers", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "return", "(", "getMembers", "(", "groupIdOrPath", ",", "getDefaultPerPage", "(", ")", ")", ".", "all", "(", ")", ")", ";", "}" ]
Get a list of group members viewable by the authenticated user. <pre><code>GitLab Endpoint: GET /groups/:id/members</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @return a list of group members viewable by the authenticated user @throws GitLabApiEx...
[ "Get", "a", "list", "of", "group", "members", "viewable", "by", "the", "authenticated", "user", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L674-L676
64,536
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getMembers
public List<Member> getMembers(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "members"); return (response.readEntity(new GenericType<List<Member>>() {})); ...
java
public List<Member> getMembers(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "members"); return (response.readEntity(new GenericType<List<Member>>() {})); ...
[ "public", "List", "<", "Member", ">", "getMembers", "(", "Object", "groupIdOrPath", ",", "int", "page", ",", "int", "perPage", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "ge...
Get a list of group members viewable by the authenticated user in the specified page range. <pre><code>GitLab Endpoint: GET /groups/:id/members</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param page the page to get @param perPage the number of M...
[ "Get", "a", "list", "of", "group", "members", "viewable", "by", "the", "authenticated", "user", "in", "the", "specified", "page", "range", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L689-L692
64,537
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getMembers
public Pager<Member> getMembers(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Member>(this, Member.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "members")); }
java
public Pager<Member> getMembers(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Member>(this, Member.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "members")); }
[ "public", "Pager", "<", "Member", ">", "getMembers", "(", "Object", "groupIdOrPath", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Member", ">", "(", "this", ",", "Member", ".", "class", ",", "it...
Get a Pager of group members viewable by the authenticated user. <pre><code>GitLab Endpoint: GET /groups/:id/members</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param itemsPerPage the number of Member instances that will be fetched per page @ret...
[ "Get", "a", "Pager", "of", "group", "members", "viewable", "by", "the", "authenticated", "user", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L704-L706
64,538
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getMembersStream
public Stream<Member> getMembersStream(Object groupIdOrPath) throws GitLabApiException { return (getMembers(groupIdOrPath, getDefaultPerPage()).stream()); }
java
public Stream<Member> getMembersStream(Object groupIdOrPath) throws GitLabApiException { return (getMembers(groupIdOrPath, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Member", ">", "getMembersStream", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "return", "(", "getMembers", "(", "groupIdOrPath", ",", "getDefaultPerPage", "(", ")", ")", ".", "stream", "(", ")", ")", ";",...
Get a Stream of group members viewable by the authenticated user. <pre><code>GitLab Endpoint: GET /groups/:id/members</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @return a Stream of group members viewable by the authenticated user @throws GitLabA...
[ "Get", "a", "Stream", "of", "group", "members", "viewable", "by", "the", "authenticated", "user", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L717-L719
64,539
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getMember
public Member getMember(Object groupIdOrPath, int userId) throws GitLabApiException { Response response = get(Response.Status.OK, getDefaultPerPageParam(), "groups", getGroupIdOrPath(groupIdOrPath), "members", userId); return (response.readEntity(new GenericType<Member>() {})); }
java
public Member getMember(Object groupIdOrPath, int userId) throws GitLabApiException { Response response = get(Response.Status.OK, getDefaultPerPageParam(), "groups", getGroupIdOrPath(groupIdOrPath), "members", userId); return (response.readEntity(new GenericType<Member>() {})); }
[ "public", "Member", "getMember", "(", "Object", "groupIdOrPath", ",", "int", "userId", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "getDefaultPerPageParam", "(", ")", ",", "\"gro...
Get a group member viewable by the authenticated user. <pre><code>GitLab Endpoint: GET /groups/:id/members/:id</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param userId the member ID of the member to get @return a member viewable by the authentic...
[ "Get", "a", "group", "member", "viewable", "by", "the", "authenticated", "user", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L731-L734
64,540
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getOptionalMember
public Optional<Member> getOptionalMember(Object groupIdOrPath, int userId) { try { return (Optional.ofNullable(getMember(groupIdOrPath, userId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public Optional<Member> getOptionalMember(Object groupIdOrPath, int userId) { try { return (Optional.ofNullable(getMember(groupIdOrPath, userId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
[ "public", "Optional", "<", "Member", ">", "getOptionalMember", "(", "Object", "groupIdOrPath", ",", "int", "userId", ")", "{", "try", "{", "return", "(", "Optional", ".", "ofNullable", "(", "getMember", "(", "groupIdOrPath", ",", "userId", ")", ")", ")", "...
Get a group member viewable by the authenticated user as an Optional instance. <pre><code>GitLab Endpoint: GET /groups/:id/members/:id</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param userId the member ID of the member to get @return a member v...
[ "Get", "a", "group", "member", "viewable", "by", "the", "authenticated", "user", "as", "an", "Optional", "instance", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L745-L751
64,541
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.removeMember
public void removeMember(Object groupIdOrPath, Integer userId) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "groups", getGroupIdOrPath(groupIdOrPath), "members", userId); }
java
public void removeMember(Object groupIdOrPath, Integer userId) throws GitLabApiException { Response.Status expectedStatus = (isApiVersion(ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT); delete(expectedStatus, null, "groups", getGroupIdOrPath(groupIdOrPath), "members", userId); }
[ "public", "void", "removeMember", "(", "Object", "groupIdOrPath", ",", "Integer", "userId", ")", "throws", "GitLabApiException", "{", "Response", ".", "Status", "expectedStatus", "=", "(", "isApiVersion", "(", "ApiVersion", ".", "V3", ")", "?", "Response", ".", ...
Removes member from the group. <pre><code>GitLab Endpoint: DELETE /groups/:id/members/:user_id</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path, required @param userId the user ID of the member to remove @throws GitLabApiException if any exception occ...
[ "Removes", "member", "from", "the", "group", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L896-L899
64,542
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.ldapSync
public void ldapSync(Object groupIdOrPath) throws GitLabApiException { post(Response.Status.NO_CONTENT, (Form)null, "groups", getGroupIdOrPath(groupIdOrPath), "ldap_sync"); }
java
public void ldapSync(Object groupIdOrPath) throws GitLabApiException { post(Response.Status.NO_CONTENT, (Form)null, "groups", getGroupIdOrPath(groupIdOrPath), "ldap_sync"); }
[ "public", "void", "ldapSync", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "post", "(", "Response", ".", "Status", ".", "NO_CONTENT", ",", "(", "Form", ")", "null", ",", "\"groups\"", ",", "getGroupIdOrPath", "(", "groupIdOrPath", ...
Syncs the group with its linked LDAP group. Only available to group owners and administrators. <pre><code>GitLab Endpoint: POST /groups/:id/ldap_sync</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @throws GitLabApiException if any exception occurs
[ "Syncs", "the", "group", "with", "its", "linked", "LDAP", "group", ".", "Only", "available", "to", "group", "owners", "and", "administrators", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L909-L911
64,543
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.deleteLdapGroupLink
public void deleteLdapGroupLink(Object groupIdOrPath, String cn) throws GitLabApiException { if (cn == null || cn.trim().isEmpty()) { throw new RuntimeException("cn cannot be null or empty"); } delete(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "ldap_group_...
java
public void deleteLdapGroupLink(Object groupIdOrPath, String cn) throws GitLabApiException { if (cn == null || cn.trim().isEmpty()) { throw new RuntimeException("cn cannot be null or empty"); } delete(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "ldap_group_...
[ "public", "void", "deleteLdapGroupLink", "(", "Object", "groupIdOrPath", ",", "String", "cn", ")", "throws", "GitLabApiException", "{", "if", "(", "cn", "==", "null", "||", "cn", ".", "trim", "(", ")", ".", "isEmpty", "(", ")", ")", "{", "throw", "new", ...
Deletes an LDAP group link. <pre><code>GitLab Endpoint: DELETE /groups/:id/ldap_group_links/:cn</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param cn the CN of the LDAP group link to delete @throws GitLabApiException if any exception occurs
[ "Deletes", "an", "LDAP", "group", "link", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L961-L968
64,544
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.deleteLdapGroupLink
public void deleteLdapGroupLink(Object groupIdOrPath, String cn, String provider) throws GitLabApiException { if (cn == null || cn.trim().isEmpty()) { throw new RuntimeException("cn cannot be null or empty"); } if (provider == null || provider.trim().isEmpty()) { throw ...
java
public void deleteLdapGroupLink(Object groupIdOrPath, String cn, String provider) throws GitLabApiException { if (cn == null || cn.trim().isEmpty()) { throw new RuntimeException("cn cannot be null or empty"); } if (provider == null || provider.trim().isEmpty()) { throw ...
[ "public", "void", "deleteLdapGroupLink", "(", "Object", "groupIdOrPath", ",", "String", "cn", ",", "String", "provider", ")", "throws", "GitLabApiException", "{", "if", "(", "cn", "==", "null", "||", "cn", ".", "trim", "(", ")", ".", "isEmpty", "(", ")", ...
Deletes an LDAP group link for a specific LDAP provider. <pre><code>GitLab Endpoint: DELETE /groups/:id/ldap_group_links/:provider/:cn</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param cn the CN of the LDAP group link to delete @param provider t...
[ "Deletes", "an", "LDAP", "group", "link", "for", "a", "specific", "LDAP", "provider", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L980-L991
64,545
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getVariables
public List<Variable> getVariables(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "variables"); return (response.readEntity(new GenericType<List<Variable>>(...
java
public List<Variable> getVariables(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "groups", getGroupIdOrPath(groupIdOrPath), "variables"); return (response.readEntity(new GenericType<List<Variable>>(...
[ "public", "List", "<", "Variable", ">", "getVariables", "(", "Object", "groupIdOrPath", ",", "int", "page", ",", "int", "perPage", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", ...
Get a list of variables for the specified group in the specified page range. <pre><code>GitLab Endpoint: GET /groups/:id/variables</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param page the page to get @param perPage the number of Variable insta...
[ "Get", "a", "list", "of", "variables", "for", "the", "specified", "group", "in", "the", "specified", "page", "range", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1017-L1020
64,546
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getVariables
public Pager<Variable> getVariables(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Variable>(this, Variable.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "variables")); }
java
public Pager<Variable> getVariables(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<Variable>(this, Variable.class, itemsPerPage, null, "groups", getGroupIdOrPath(groupIdOrPath), "variables")); }
[ "public", "Pager", "<", "Variable", ">", "getVariables", "(", "Object", "groupIdOrPath", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Variable", ">", "(", "this", ",", "Variable", ".", "class", ",...
Get a Pager of variables belonging to the specified group. <pre><code>GitLab Endpoint: GET /groups/:id/variables</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param itemsPerPage the number of Variable instances that will be fetched per page @retur...
[ "Get", "a", "Pager", "of", "variables", "belonging", "to", "the", "specified", "group", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1032-L1034
64,547
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getVariablesStream
public Stream<Variable> getVariablesStream(Object groupIdOrPath) throws GitLabApiException { return (getVariables(groupIdOrPath, getDefaultPerPage()).stream()); }
java
public Stream<Variable> getVariablesStream(Object groupIdOrPath) throws GitLabApiException { return (getVariables(groupIdOrPath, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Variable", ">", "getVariablesStream", "(", "Object", "groupIdOrPath", ")", "throws", "GitLabApiException", "{", "return", "(", "getVariables", "(", "groupIdOrPath", ",", "getDefaultPerPage", "(", ")", ")", ".", "stream", "(", ")", ")", ...
Get a Stream of variables belonging to the specified group. <pre><code>GitLab Endpoint: GET /groups/:id/variables</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @return a Stream of variables belonging to the specified group @throws GitLabApiExceptio...
[ "Get", "a", "Stream", "of", "variables", "belonging", "to", "the", "specified", "group", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1045-L1047
64,548
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getVariable
public Variable getVariable(Object groupIdOrPath, String key) throws GitLabApiException { Response response = get(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "variables", key); return (response.readEntity(Variable.class)); }
java
public Variable getVariable(Object groupIdOrPath, String key) throws GitLabApiException { Response response = get(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "variables", key); return (response.readEntity(Variable.class)); }
[ "public", "Variable", "getVariable", "(", "Object", "groupIdOrPath", ",", "String", "key", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"groups\"", ",", "getGroupId...
Get the details of a group variable. <pre><code>GitLab Endpoint: GET /groups/:id/variables/:key</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param key the key of an existing variable, required @return the Variable instance for the specified group...
[ "Get", "the", "details", "of", "a", "group", "variable", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1059-L1062
64,549
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.getOptionalVariable
public Optional<Variable> getOptionalVariable(Object groupIdOrPath, String key) { try { return (Optional.ofNullable(getVariable(groupIdOrPath, key))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public Optional<Variable> getOptionalVariable(Object groupIdOrPath, String key) { try { return (Optional.ofNullable(getVariable(groupIdOrPath, key))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
[ "public", "Optional", "<", "Variable", ">", "getOptionalVariable", "(", "Object", "groupIdOrPath", ",", "String", "key", ")", "{", "try", "{", "return", "(", "Optional", ".", "ofNullable", "(", "getVariable", "(", "groupIdOrPath", ",", "key", ")", ")", ")", ...
Get the details of a group variable as an Optional instance. <pre><code>GitLab Endpoint: GET /groups/:id/variables/:key</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path @param key the key of an existing variable, required @return the Variable for the ...
[ "Get", "the", "details", "of", "a", "group", "variable", "as", "an", "Optional", "instance", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1073-L1079
64,550
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.createVariable
public Variable createVariable(Object groupIdOrPath, String key, String value, Boolean isProtected) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("key", key, true) .withParam("value", value, true) .withParam("protected", isPr...
java
public Variable createVariable(Object groupIdOrPath, String key, String value, Boolean isProtected) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("key", key, true) .withParam("value", value, true) .withParam("protected", isPr...
[ "public", "Variable", "createVariable", "(", "Object", "groupIdOrPath", ",", "String", "key", ",", "String", "value", ",", "Boolean", "isProtected", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "new", "GitLabApiForm", "(", ")", ".", ...
Create a new group variable. <pre><code>GitLab Endpoint: POST /groups/:id/variables</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path, required @param key the key of a variable; must have no more than 255 characters; only A-Z, a-z, 0-9, and _ are allow...
[ "Create", "a", "new", "group", "variable", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1093-L1101
64,551
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/GroupApi.java
GroupApi.deleteVariable
public void deleteVariable(Object groupIdOrPath, String key) throws GitLabApiException { delete(Response.Status.NO_CONTENT, null, "groups", getGroupIdOrPath(groupIdOrPath), "variables", key); }
java
public void deleteVariable(Object groupIdOrPath, String key) throws GitLabApiException { delete(Response.Status.NO_CONTENT, null, "groups", getGroupIdOrPath(groupIdOrPath), "variables", key); }
[ "public", "void", "deleteVariable", "(", "Object", "groupIdOrPath", ",", "String", "key", ")", "throws", "GitLabApiException", "{", "delete", "(", "Response", ".", "Status", ".", "NO_CONTENT", ",", "null", ",", "\"groups\"", ",", "getGroupIdOrPath", "(", "groupI...
Deletes a group variable. <pre><code>DELETE /groups/:id/variables/:key</code></pre> @param groupIdOrPath the group ID, path of the group, or a Group instance holding the group ID or path, required @param key the key of an existing variable, required @throws GitLabApiException if any exception occurs
[ "Deletes", "a", "group", "variable", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/GroupApi.java#L1133-L1135
64,552
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.getSnippets
public List<Snippet> getSnippets(boolean downloadContent) throws GitLabApiException { Response response = get(Response.Status.OK, getDefaultPerPageParam(), "snippets"); List<Snippet> snippets = (response.readEntity(new GenericType<List<Snippet>>(){})); if (downloadContent) { for (S...
java
public List<Snippet> getSnippets(boolean downloadContent) throws GitLabApiException { Response response = get(Response.Status.OK, getDefaultPerPageParam(), "snippets"); List<Snippet> snippets = (response.readEntity(new GenericType<List<Snippet>>(){})); if (downloadContent) { for (S...
[ "public", "List", "<", "Snippet", ">", "getSnippets", "(", "boolean", "downloadContent", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "getDefaultPerPageParam", "(", ")", ",", "\"s...
Get a list of the authenticated user's snippets. <pre><code>GitLab Endpoint: GET /snippets</code></pre> @param downloadContent indicating whether to download the snippet content @return a list of authenticated user's snippets @throws GitLabApiException if any exception occurs
[ "Get", "a", "list", "of", "the", "authenticated", "user", "s", "snippets", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L31-L43
64,553
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.getSnippets
public Pager<Snippet> getSnippets(int itemsPerPage) throws GitLabApiException { return (new Pager<Snippet>(this, Snippet.class, itemsPerPage, null, "snippets")); }
java
public Pager<Snippet> getSnippets(int itemsPerPage) throws GitLabApiException { return (new Pager<Snippet>(this, Snippet.class, itemsPerPage, null, "snippets")); }
[ "public", "Pager", "<", "Snippet", ">", "getSnippets", "(", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Snippet", ">", "(", "this", ",", "Snippet", ".", "class", ",", "itemsPerPage", ",", "null", ",...
Get a Pager of the authenticated user's snippets. <pre><code>GitLab Endpoint: GET /snippets</code></pre> @param itemsPerPage the number of snippets per page @return the Pager of snippets @throws GitLabApiException if any exception occurs
[ "Get", "a", "Pager", "of", "the", "authenticated", "user", "s", "snippets", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L66-L68
64,554
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.getSnippetContent
public String getSnippetContent(Integer snippetId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "snippets", snippetId, "raw"); return (response.readEntity(String.class)); }
java
public String getSnippetContent(Integer snippetId) throws GitLabApiException { Response response = get(Response.Status.OK, null, "snippets", snippetId, "raw"); return (response.readEntity(String.class)); }
[ "public", "String", "getSnippetContent", "(", "Integer", "snippetId", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"snippets\"", ",", "snippetId", ",", "\"raw\"", "...
Get the content of a Snippet. <pre><code>GitLab Endpoint: GET /snippets/:id/raw</code></pre> @param snippetId the snippet ID to remove @return the content of snippet @throws GitLabApiException if any exception occurs
[ "Get", "the", "content", "of", "a", "Snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L91-L94
64,555
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.getSnippet
public Snippet getSnippet(Integer snippetId, boolean downloadContent) throws GitLabApiException { if (snippetId == null) { throw new RuntimeException("snippetId can't be null"); } Response response = get(Response.Status.OK, null, "snippets", snippetId); Snippet snippet = re...
java
public Snippet getSnippet(Integer snippetId, boolean downloadContent) throws GitLabApiException { if (snippetId == null) { throw new RuntimeException("snippetId can't be null"); } Response response = get(Response.Status.OK, null, "snippets", snippetId); Snippet snippet = re...
[ "public", "Snippet", "getSnippet", "(", "Integer", "snippetId", ",", "boolean", "downloadContent", ")", "throws", "GitLabApiException", "{", "if", "(", "snippetId", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"snippetId can't be null\"", ")", ...
Get a specific Snippet. @param snippetId the snippet ID to get @param downloadContent indicating whether to download the snippet content @return the snippet with the given id @throws GitLabApiException if any exception occurs
[ "Get", "a", "specific", "Snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L104-L118
64,556
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.getOptionalSnippet
public Optional<Snippet> getOptionalSnippet(Integer snippetId, boolean downloadContent) { try { return (Optional.ofNullable(getSnippet(snippetId, downloadContent))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public Optional<Snippet> getOptionalSnippet(Integer snippetId, boolean downloadContent) { try { return (Optional.ofNullable(getSnippet(snippetId, downloadContent))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
[ "public", "Optional", "<", "Snippet", ">", "getOptionalSnippet", "(", "Integer", "snippetId", ",", "boolean", "downloadContent", ")", "{", "try", "{", "return", "(", "Optional", ".", "ofNullable", "(", "getSnippet", "(", "snippetId", ",", "downloadContent", ")",...
Get a specific snippet as an Optional instance. <pre><code>GitLab Endpoint: GET /snippets/:snippet_id</code></pre> @param snippetId the ID of the snippet to get the Optional instance for @param downloadContent indicating whether to download the snippet content @return the specified Snippet as an Optional instance
[ "Get", "a", "specific", "snippet", "as", "an", "Optional", "instance", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L152-L158
64,557
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.createSnippet
public Snippet createSnippet(String title, String fileName, String content) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("title", title, true) .withParam("file_name", fileName, true) .withParam("content", content, true); ...
java
public Snippet createSnippet(String title, String fileName, String content) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("title", title, true) .withParam("file_name", fileName, true) .withParam("content", content, true); ...
[ "public", "Snippet", "createSnippet", "(", "String", "title", ",", "String", "fileName", ",", "String", "content", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "new", "GitLabApiForm", "(", ")", ".", "withParam", "(", "\"title\"", "...
Create a new Snippet. @param title the title of the snippet @param fileName the file name of the snippet @param content the content of the snippet @return the created Snippet @throws GitLabApiException if any exception occurs
[ "Create", "a", "new", "Snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L169-L176
64,558
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/SnippetsApi.java
SnippetsApi.deleteSnippet
public void deleteSnippet(Integer snippetId) throws GitLabApiException { if (snippetId == null) { throw new RuntimeException("snippetId can't be null"); } delete(Response.Status.NO_CONTENT, null, "snippets", snippetId); }
java
public void deleteSnippet(Integer snippetId) throws GitLabApiException { if (snippetId == null) { throw new RuntimeException("snippetId can't be null"); } delete(Response.Status.NO_CONTENT, null, "snippets", snippetId); }
[ "public", "void", "deleteSnippet", "(", "Integer", "snippetId", ")", "throws", "GitLabApiException", "{", "if", "(", "snippetId", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"snippetId can't be null\"", ")", ";", "}", "delete", "(", "Respo...
Removes Snippet. <pre><code>GitLab Endpoint: DELETE /snippets/:id</code></pre> @param snippetId the snippet ID to remove @throws GitLabApiException if any exception occurs
[ "Removes", "Snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/SnippetsApi.java#L208-L215
64,559
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.getDeployKeys
public List<DeployKey> getDeployKeys(int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "deploy_keys"); return (response.readEntity(new GenericType<List<DeployKey>>() {})); }
java
public List<DeployKey> getDeployKeys(int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "deploy_keys"); return (response.readEntity(new GenericType<List<DeployKey>>() {})); }
[ "public", "List", "<", "DeployKey", ">", "getDeployKeys", "(", "int", "page", ",", "int", "perPage", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "getPageQueryParams", "(", "pag...
Get a list of all deploy keys across all projects of the GitLab instance using the specified page and per page settings. This method requires admin access. <pre><code>GitLab Endpoint: GET /deploy_keys</code></pre> @param page the page to get @param perPage the number of deploy keys per page @return the list of Deploy...
[ "Get", "a", "list", "of", "all", "deploy", "keys", "across", "all", "projects", "of", "the", "GitLab", "instance", "using", "the", "specified", "page", "and", "per", "page", "settings", ".", "This", "method", "requires", "admin", "access", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L45-L48
64,560
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.getDeployKeys
public Pager<DeployKey> getDeployKeys(int itemsPerPage) throws GitLabApiException { return (new Pager<DeployKey>(this, DeployKey.class, itemsPerPage, null, "deploy_keys")); }
java
public Pager<DeployKey> getDeployKeys(int itemsPerPage) throws GitLabApiException { return (new Pager<DeployKey>(this, DeployKey.class, itemsPerPage, null, "deploy_keys")); }
[ "public", "Pager", "<", "DeployKey", ">", "getDeployKeys", "(", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "DeployKey", ">", "(", "this", ",", "DeployKey", ".", "class", ",", "itemsPerPage", ",", "nul...
Get a Pager of all deploy keys across all projects of the GitLab instance. This method requires admin access. <pre><code>GitLab Endpoint: GET /deploy_keys</code></pre> @param itemsPerPage the number of DeployKey instances that will be fetched per page @return a Pager of DeployKey @throws GitLabApiException if any exc...
[ "Get", "a", "Pager", "of", "all", "deploy", "keys", "across", "all", "projects", "of", "the", "GitLab", "instance", ".", "This", "method", "requires", "admin", "access", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L59-L61
64,561
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.getProjectDeployKeys
public List<DeployKey> getProjectDeployKeys(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys"); return (response.readEnti...
java
public List<DeployKey> getProjectDeployKeys(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys"); return (response.readEnti...
[ "public", "List", "<", "DeployKey", ">", "getProjectDeployKeys", "(", "Object", "projectIdOrPath", ",", "int", "page", ",", "int", "perPage", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK...
Get a list of the deploy keys for the specified project using the specified page and per page settings. This method requires admin access. <pre><code>GitLab Endpoint: GET /projects/:id/deploy_keys</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param p...
[ "Get", "a", "list", "of", "the", "deploy", "keys", "for", "the", "specified", "project", "using", "the", "specified", "page", "and", "per", "page", "settings", ".", "This", "method", "requires", "admin", "access", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L100-L104
64,562
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.getProjectDeployKeys
public Pager<DeployKey> getProjectDeployKeys(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<DeployKey>(this, DeployKey.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys")); }
java
public Pager<DeployKey> getProjectDeployKeys(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { return (new Pager<DeployKey>(this, DeployKey.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys")); }
[ "public", "Pager", "<", "DeployKey", ">", "getProjectDeployKeys", "(", "Object", "projectIdOrPath", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "DeployKey", ">", "(", "this", ",", "DeployKey", ".", ...
Get a Pager of the deploy keys for the specified project. This method requires admin access. <pre><code>GitLab Endpoint: GET /projects/:id/deploy_keys</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance@param projectId the ID of the project @param itemsPerP...
[ "Get", "a", "Pager", "of", "the", "deploy", "keys", "for", "the", "specified", "project", ".", "This", "method", "requires", "admin", "access", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L116-L119
64,563
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.getDeployKey
public DeployKey getDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException { if (keyId == null) { throw new RuntimeException("keyId cannot be null"); } Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPa...
java
public DeployKey getDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException { if (keyId == null) { throw new RuntimeException("keyId cannot be null"); } Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPa...
[ "public", "DeployKey", "getDeployKey", "(", "Object", "projectIdOrPath", ",", "Integer", "keyId", ")", "throws", "GitLabApiException", "{", "if", "(", "keyId", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"keyId cannot be null\"", ")", ";", ...
Get a single deploy key for the specified project. <pre><code>GitLab Endpoint: GET /projects/:id/deploy_keys/:key_id</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param keyId the ID of the deploy key to delete @return the DeployKey instance for the s...
[ "Get", "a", "single", "deploy", "key", "for", "the", "specified", "project", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L144-L153
64,564
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.getOptionalDeployKey
public Optional<DeployKey> getOptionalDeployKey(Object projectIdOrPath, Integer keyId) { try { return (Optional.ofNullable(getDeployKey(projectIdOrPath, keyId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
java
public Optional<DeployKey> getOptionalDeployKey(Object projectIdOrPath, Integer keyId) { try { return (Optional.ofNullable(getDeployKey(projectIdOrPath, keyId))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae)); } }
[ "public", "Optional", "<", "DeployKey", ">", "getOptionalDeployKey", "(", "Object", "projectIdOrPath", ",", "Integer", "keyId", ")", "{", "try", "{", "return", "(", "Optional", ".", "ofNullable", "(", "getDeployKey", "(", "projectIdOrPath", ",", "keyId", ")", ...
Get a single deploy key for the specified project as an Optional instance. <pre><code>GitLab Endpoint: GET /projects/:id/deploy_keys/:key_id</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param keyId the ID of the deploy key to delete @return the Depl...
[ "Get", "a", "single", "deploy", "key", "for", "the", "specified", "project", "as", "an", "Optional", "instance", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L164-L170
64,565
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.addDeployKey
public DeployKey addDeployKey(Object projectIdOrPath, String title, String key, Boolean canPush) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("title", title, true) .withParam("key", key, true) .withParam("can_push", canPush...
java
public DeployKey addDeployKey(Object projectIdOrPath, String title, String key, Boolean canPush) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("title", title, true) .withParam("key", key, true) .withParam("can_push", canPush...
[ "public", "DeployKey", "addDeployKey", "(", "Object", "projectIdOrPath", ",", "String", "title", ",", "String", "key", ",", "Boolean", "canPush", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "new", "GitLabApiForm", "(", ")", ".", "...
Creates a new deploy key for a project. <pre><code>GitLab Endpoint: POST /projects/:id/deploy_keys</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param title the new deploy key's title, required @param key the new deploy key, required @param canPush c...
[ "Creates", "a", "new", "deploy", "key", "for", "a", "project", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L184-L193
64,566
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.deleteDeployKey
public void deleteDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException { if (keyId == null) { throw new RuntimeException("keyId cannot be null"); } delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys", keyId); }
java
public void deleteDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException { if (keyId == null) { throw new RuntimeException("keyId cannot be null"); } delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys", keyId); }
[ "public", "void", "deleteDeployKey", "(", "Object", "projectIdOrPath", ",", "Integer", "keyId", ")", "throws", "GitLabApiException", "{", "if", "(", "keyId", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"keyId cannot be null\"", ")", ";", "...
Removes a deploy key from the project. If the deploy key is used only for this project,it will be deleted from the system. <pre><code>GitLab Endpoint: DELETE /projects/:id/deploy_keys/:key_id</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param keyId ...
[ "Removes", "a", "deploy", "key", "from", "the", "project", ".", "If", "the", "deploy", "key", "is", "used", "only", "for", "this", "project", "it", "will", "be", "deleted", "from", "the", "system", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L204-L211
64,567
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DeployKeysApi.java
DeployKeysApi.enableDeployKey
public DeployKey enableDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException { if (keyId == null) { throw new RuntimeException("keyId cannot be null"); } Response response = post(Response.Status.CREATED, (Form)null, "projects", getProjectIdOrPat...
java
public DeployKey enableDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException { if (keyId == null) { throw new RuntimeException("keyId cannot be null"); } Response response = post(Response.Status.CREATED, (Form)null, "projects", getProjectIdOrPat...
[ "public", "DeployKey", "enableDeployKey", "(", "Object", "projectIdOrPath", ",", "Integer", "keyId", ")", "throws", "GitLabApiException", "{", "if", "(", "keyId", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"keyId cannot be null\"", ")", ";"...
Enables a deploy key for a project so this can be used. Returns the enabled key when successful. <pre><code>GitLab Endpoint: POST /projects/:id/deploy_keys/:key_id/enable</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param keyId the ID of the deploy ...
[ "Enables", "a", "deploy", "key", "for", "a", "project", "so", "this", "can", "be", "used", ".", "Returns", "the", "enabled", "key", "when", "successful", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DeployKeysApi.java#L223-L232
64,568
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getMergeRequestsStream
public Stream<MergeRequest> getMergeRequestsStream(MergeRequestFilter filter) throws GitLabApiException { return (getMergeRequests(filter, getDefaultPerPage()).stream()); }
java
public Stream<MergeRequest> getMergeRequestsStream(MergeRequestFilter filter) throws GitLabApiException { return (getMergeRequests(filter, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "MergeRequest", ">", "getMergeRequestsStream", "(", "MergeRequestFilter", "filter", ")", "throws", "GitLabApiException", "{", "return", "(", "getMergeRequests", "(", "filter", ",", "getDefaultPerPage", "(", ")", ")", ".", "stream", "(", ")...
Get all merge requests matching the filter as a Stream. <pre><code>GitLab Endpoint: GET /merge_requests</code></pre> @param filter a MergeRequestFilter instance with the filter settings @return a Stream containing all the merge requests for the specified project matching the filter @throws GitLabApiException if any e...
[ "Get", "all", "merge", "requests", "matching", "the", "filter", "as", "a", "Stream", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L107-L109
64,569
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getMergeRequestsStream
public Stream<MergeRequest> getMergeRequestsStream(Object projectIdOrPath, MergeRequestState state) throws GitLabApiException { return (getMergeRequests(projectIdOrPath, state, getDefaultPerPage()).stream()); }
java
public Stream<MergeRequest> getMergeRequestsStream(Object projectIdOrPath, MergeRequestState state) throws GitLabApiException { return (getMergeRequests(projectIdOrPath, state, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "MergeRequest", ">", "getMergeRequestsStream", "(", "Object", "projectIdOrPath", ",", "MergeRequestState", "state", ")", "throws", "GitLabApiException", "{", "return", "(", "getMergeRequests", "(", "projectIdOrPath", ",", "state", ",", "getDef...
Get all merge requests with a specific state for the specified project as a Stream. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests?state=:state</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param state the state parameter can be used to...
[ "Get", "all", "merge", "requests", "with", "a", "specific", "state", "for", "the", "specified", "project", "as", "a", "Stream", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L229-L231
64,570
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getMergeRequest
public MergeRequest getMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid); return (response.readEntity(MergeRequest.class)); }
java
public MergeRequest getMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid); return (response.readEntity(MergeRequest.class)); }
[ "public", "MergeRequest", "getMergeRequest", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "Response", "response", "=", "get", "(", "Response", ".", "Status", ".", "OK", ",", "null", ",", "\"projects...
Get information about a single merge request. <p>NOTE: GitLab API V4 uses IID (internal ID), V3 uses ID to identify the merge request.</p> <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_id</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Pro...
[ "Get", "information", "about", "a", "single", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L245-L248
64,571
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getOptionalMergeRequest
public Optional<MergeRequest> getOptionalMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) { try { return (Optional.ofNullable(getMergeRequest(projectIdOrPath, mergeRequestIid))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae))...
java
public Optional<MergeRequest> getOptionalMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) { try { return (Optional.ofNullable(getMergeRequest(projectIdOrPath, mergeRequestIid))); } catch (GitLabApiException glae) { return (GitLabApi.createOptionalFromException(glae))...
[ "public", "Optional", "<", "MergeRequest", ">", "getOptionalMergeRequest", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "{", "try", "{", "return", "(", "Optional", ".", "ofNullable", "(", "getMergeRequest", "(", "projectIdOrPath", ",", ...
Get information about a single merge request as an Optional instance. <p>NOTE: GitLab API V4 uses IID (internal ID), V3 uses ID to identify the merge request.</p> <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_id</code></pre> @param projectIdOrPath the project in the form of an Integer(I...
[ "Get", "information", "about", "a", "single", "merge", "request", "as", "an", "Optional", "instance", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L261-L267
64,572
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getCommits
public Pager<Commit> getCommits(Object projectIdOrPath, int mergeRequestIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Commit>(this, Commit.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "commits")); }
java
public Pager<Commit> getCommits(Object projectIdOrPath, int mergeRequestIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Commit>(this, Commit.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "commits")); }
[ "public", "Pager", "<", "Commit", ">", "getCommits", "(", "Object", "projectIdOrPath", ",", "int", "mergeRequestIid", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Commit", ">", "(", "this", ",", "...
Get a Pager of merge request commits. <p>NOTE: GitLab API V4 uses IID (internal ID), V3 uses ID to identify the merge request.</p> <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/commits</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Pr...
[ "Get", "a", "Pager", "of", "merge", "request", "commits", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L318-L321
64,573
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getCommitsStream
public Stream<Commit> getCommitsStream(Object projectIdOrPath, int mergeRequestIid) throws GitLabApiException { return (getCommits(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).stream()); }
java
public Stream<Commit> getCommitsStream(Object projectIdOrPath, int mergeRequestIid) throws GitLabApiException { return (getCommits(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Commit", ">", "getCommitsStream", "(", "Object", "projectIdOrPath", ",", "int", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "return", "(", "getCommits", "(", "projectIdOrPath", ",", "mergeRequestIid", ",", "getDefaultPerPage"...
Get a Stream of merge request commits. <p>NOTE: GitLab API V4 uses IID (internal ID), V3 uses ID to identify the merge request.</p> <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/commits</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or P...
[ "Get", "a", "Stream", "of", "merge", "request", "commits", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L335-L337
64,574
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.cancelMergeRequest
public MergeRequest cancelMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { if (mergeRequestIid == null) { throw new RuntimeException("mergeRequestIid cannot be null"); } Response response = put(Response.Status.OK, null, "projects", getProjec...
java
public MergeRequest cancelMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { if (mergeRequestIid == null) { throw new RuntimeException("mergeRequestIid cannot be null"); } Response response = put(Response.Status.OK, null, "projects", getProjec...
[ "public", "MergeRequest", "cancelMergeRequest", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "if", "(", "mergeRequestIid", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"mergeReques...
Cancel merge when pipeline succeeds. If you don't have permissions to accept this merge request, you'll get a 401. If the merge request is already merged or closed, you get 405 and error message 'Method Not Allowed'. In case the merge request is not set to be merged when the pipeline succeeds, you'll also get a 406 err...
[ "Cancel", "merge", "when", "pipeline", "succeeds", ".", "If", "you", "don", "t", "have", "permissions", "to", "accept", "this", "merge", "request", "you", "ll", "get", "a", "401", ".", "If", "the", "merge", "request", "is", "already", "merged", "or", "cl...
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L674-L682
64,575
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.approveMergeRequest
public MergeRequest approveMergeRequest(Object projectIdOrPath, Integer mergeRequestIid, String sha) throws GitLabApiException { if (mergeRequestIid == null) { throw new RuntimeException("mergeRequestIid cannot be null"); } Form formData = new GitLabApiForm().withParam("sha", sha);...
java
public MergeRequest approveMergeRequest(Object projectIdOrPath, Integer mergeRequestIid, String sha) throws GitLabApiException { if (mergeRequestIid == null) { throw new RuntimeException("mergeRequestIid cannot be null"); } Form formData = new GitLabApiForm().withParam("sha", sha);...
[ "public", "MergeRequest", "approveMergeRequest", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ",", "String", "sha", ")", "throws", "GitLabApiException", "{", "if", "(", "mergeRequestIid", "==", "null", ")", "{", "throw", "new", "RuntimeExcept...
Approve a merge request. Note: This API endpoint is only available on 8.9 EE and above. <pre><code>GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/approve</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the ...
[ "Approve", "a", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L719-L728
64,576
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.unapproveMergeRequest
public MergeRequest unapproveMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { if (mergeRequestIid == null) { throw new RuntimeException("mergeRequestIid cannot be null"); } Response response = post(Response.Status.OK, (Form)null, "projects",...
java
public MergeRequest unapproveMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { if (mergeRequestIid == null) { throw new RuntimeException("mergeRequestIid cannot be null"); } Response response = post(Response.Status.OK, (Form)null, "projects",...
[ "public", "MergeRequest", "unapproveMergeRequest", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "if", "(", "mergeRequestIid", "==", "null", ")", "{", "throw", "new", "RuntimeException", "(", "\"mergeReq...
Unapprove a merge request. Note: This API endpoint is only available on 8.9 EE and above. <pre><code>GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/unapprove</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid ...
[ "Unapprove", "a", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L742-L750
64,577
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getParticipants
public List<Participant> getParticipants(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getParticipants(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).all()); }
java
public List<Participant> getParticipants(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getParticipants(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Participant", ">", "getParticipants", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "return", "(", "getParticipants", "(", "projectIdOrPath", ",", "mergeRequestIid", ",", "getDefa...
Get list of participants of merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/participants</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the IID of the merge request to get @return a ...
[ "Get", "list", "of", "participants", "of", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L777-L779
64,578
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getParticipants
public Pager<Participant> getParticipants(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException { return new Pager<Participant>(this, Participant.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, ...
java
public Pager<Participant> getParticipants(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException { return new Pager<Participant>(this, Participant.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, ...
[ "public", "Pager", "<", "Participant", ">", "getParticipants", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "new", "Pager", "<", "Participant", ">", "(", "this"...
Get a Pager of the participants of merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/participants</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the IID of the merge request to get @pa...
[ "Get", "a", "Pager", "of", "the", "participants", "of", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L810-L813
64,579
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getParticipantsStream
public Stream<Participant> getParticipantsStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getParticipants(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).stream()); }
java
public Stream<Participant> getParticipantsStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getParticipants(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Participant", ">", "getParticipantsStream", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "return", "(", "getParticipants", "(", "projectIdOrPath", ",", "mergeRequestIid", ",", ...
Get Stream of participants of merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/participants</code></pre> @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the IID of the merge request to get @return ...
[ "Get", "Stream", "of", "participants", "of", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L825-L827
64,580
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getClosesIssues
public List<Issue> getClosesIssues(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getClosesIssues(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).all()); }
java
public List<Issue> getClosesIssues(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getClosesIssues(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).all()); }
[ "public", "List", "<", "Issue", ">", "getClosesIssues", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "return", "(", "getClosesIssues", "(", "projectIdOrPath", ",", "mergeRequestIid", ",", "getDefaultPer...
Get list containing all the issues that would be closed by merging the provided merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/closes_issues</code></pre> @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path @param mergeReq...
[ "Get", "list", "containing", "all", "the", "issues", "that", "would", "be", "closed", "by", "merging", "the", "provided", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L839-L841
64,581
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getClosesIssues
public Pager<Issue> getClosesIssues(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException { return new Pager<Issue>(this, Issue.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "closes_issues");...
java
public Pager<Issue> getClosesIssues(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException { return new Pager<Issue>(this, Issue.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "closes_issues");...
[ "public", "Pager", "<", "Issue", ">", "getClosesIssues", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "new", "Pager", "<", "Issue", ">", "(", "this", ",", "...
Get a Pager containing all the issues that would be closed by merging the provided merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/closes_issues</code></pre> @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path @param merge...
[ "Get", "a", "Pager", "containing", "all", "the", "issues", "that", "would", "be", "closed", "by", "merging", "the", "provided", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L872-L875
64,582
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/MergeRequestApi.java
MergeRequestApi.getClosesIssuesStream
public Stream<Issue> getClosesIssuesStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getClosesIssues(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).stream()); }
java
public Stream<Issue> getClosesIssuesStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { return (getClosesIssues(projectIdOrPath, mergeRequestIid, getDefaultPerPage()).stream()); }
[ "public", "Stream", "<", "Issue", ">", "getClosesIssuesStream", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "return", "(", "getClosesIssues", "(", "projectIdOrPath", ",", "mergeRequestIid", ",", "getDe...
Get Stream containing all the issues that would be closed by merging the provided merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/closes_issues</code></pre> @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path @param mergeR...
[ "Get", "Stream", "containing", "all", "the", "issues", "that", "would", "be", "closed", "by", "merging", "the", "provided", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/MergeRequestApi.java#L887-L889
64,583
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getIssueDiscussions
public List<Discussion> getIssueDiscussions(Object projectIdOrPath, Integer issueIid) throws GitLabApiException { Pager<Discussion> pager = getIssueDiscussionsPager(projectIdOrPath, issueIid, getDefaultPerPage()); return (pager.all()); }
java
public List<Discussion> getIssueDiscussions(Object projectIdOrPath, Integer issueIid) throws GitLabApiException { Pager<Discussion> pager = getIssueDiscussionsPager(projectIdOrPath, issueIid, getDefaultPerPage()); return (pager.all()); }
[ "public", "List", "<", "Discussion", ">", "getIssueDiscussions", "(", "Object", "projectIdOrPath", ",", "Integer", "issueIid", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getIssueDiscussionsPager", "(", "projectIdOrPath", ...
Get a list of all discussions for the specified issue. <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param issueIid the internal ID of the issue @return a lis...
[ "Get", "a", "list", "of", "all", "discussions", "for", "the", "specified", "issue", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L34-L37
64,584
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getIssueDiscussionsPager
public Pager<Discussion> getIssueDiscussionsPager(Object projectIdOrPath, Integer issueIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "issues", issueIid, "discussions")); ...
java
public Pager<Discussion> getIssueDiscussionsPager(Object projectIdOrPath, Integer issueIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "issues", issueIid, "discussions")); ...
[ "public", "Pager", "<", "Discussion", ">", "getIssueDiscussionsPager", "(", "Object", "projectIdOrPath", ",", "Integer", "issueIid", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Discussion", ">", "(", ...
Get a Pager of Discussion instances for the specified issue. <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param issueIid the internal ID of the issue @param ...
[ "Get", "a", "Pager", "of", "Discussion", "instances", "for", "the", "specified", "issue", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L71-L74
64,585
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getIssueDiscussionsStream
public Stream<Discussion> getIssueDiscussionsStream(Object projectIdOrPath, Integer issueIid) throws GitLabApiException { Pager<Discussion> pager = getIssueDiscussionsPager(projectIdOrPath, issueIid, getDefaultPerPage()); return (pager.stream()); }
java
public Stream<Discussion> getIssueDiscussionsStream(Object projectIdOrPath, Integer issueIid) throws GitLabApiException { Pager<Discussion> pager = getIssueDiscussionsPager(projectIdOrPath, issueIid, getDefaultPerPage()); return (pager.stream()); }
[ "public", "Stream", "<", "Discussion", ">", "getIssueDiscussionsStream", "(", "Object", "projectIdOrPath", ",", "Integer", "issueIid", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getIssueDiscussionsPager", "(", "projectIdO...
Get a Stream of Discussion instances for the specified issue. <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param issueIid the internal ID of the issue @retur...
[ "Get", "a", "Stream", "of", "Discussion", "instances", "for", "the", "specified", "issue", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L86-L89
64,586
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getSnippetDiscussions
public List<Discussion> getSnippetDiscussions(Object projectIdOrPath, Integer snippetId) throws GitLabApiException { Pager<Discussion> pager = getSnippetDiscussionsPager(projectIdOrPath, snippetId, getDefaultPerPage()); return (pager.all()); }
java
public List<Discussion> getSnippetDiscussions(Object projectIdOrPath, Integer snippetId) throws GitLabApiException { Pager<Discussion> pager = getSnippetDiscussionsPager(projectIdOrPath, snippetId, getDefaultPerPage()); return (pager.all()); }
[ "public", "List", "<", "Discussion", ">", "getSnippetDiscussions", "(", "Object", "projectIdOrPath", ",", "Integer", "snippetId", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getSnippetDiscussionsPager", "(", "projectIdOrPa...
Get a list of all discussions for the specified snippet. <pre><code>GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param snippetId the ID of the snippet @return a list...
[ "Get", "a", "list", "of", "all", "discussions", "for", "the", "specified", "snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L101-L104
64,587
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getSnippetDiscussionsPager
public Pager<Discussion> getSnippetDiscussionsPager(Object projectIdOrPath, Integer snippetId, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "snippets", snippetId, "discussion...
java
public Pager<Discussion> getSnippetDiscussionsPager(Object projectIdOrPath, Integer snippetId, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "snippets", snippetId, "discussion...
[ "public", "Pager", "<", "Discussion", ">", "getSnippetDiscussionsPager", "(", "Object", "projectIdOrPath", ",", "Integer", "snippetId", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Discussion", ">", "("...
Get a Pager of Discussion instances for the specified snippet. <pre><code>GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param snippetId the ID of the snippet @param i...
[ "Get", "a", "Pager", "of", "Discussion", "instances", "for", "the", "specified", "snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L138-L141
64,588
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getSnippetDiscussionsStream
public Stream<Discussion> getSnippetDiscussionsStream(Object projectIdOrPath, Integer snippetId) throws GitLabApiException { Pager<Discussion> pager = getSnippetDiscussionsPager(projectIdOrPath, snippetId, getDefaultPerPage()); return (pager.stream()); }
java
public Stream<Discussion> getSnippetDiscussionsStream(Object projectIdOrPath, Integer snippetId) throws GitLabApiException { Pager<Discussion> pager = getSnippetDiscussionsPager(projectIdOrPath, snippetId, getDefaultPerPage()); return (pager.stream()); }
[ "public", "Stream", "<", "Discussion", ">", "getSnippetDiscussionsStream", "(", "Object", "projectIdOrPath", ",", "Integer", "snippetId", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getSnippetDiscussionsPager", "(", "proje...
Get a Stream of Discussion instances for the specified snippet. <pre><code>GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param snippetId the ID of the snippet @return...
[ "Get", "a", "Stream", "of", "Discussion", "instances", "for", "the", "specified", "snippet", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L153-L156
64,589
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getEpicDiscussions
public List<Discussion> getEpicDiscussions(Object projectIdOrPath, Integer epicId) throws GitLabApiException { Pager<Discussion> pager = getEpicDiscussionsPager(projectIdOrPath, epicId, getDefaultPerPage()); return (pager.all()); }
java
public List<Discussion> getEpicDiscussions(Object projectIdOrPath, Integer epicId) throws GitLabApiException { Pager<Discussion> pager = getEpicDiscussionsPager(projectIdOrPath, epicId, getDefaultPerPage()); return (pager.all()); }
[ "public", "List", "<", "Discussion", ">", "getEpicDiscussions", "(", "Object", "projectIdOrPath", ",", "Integer", "epicId", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getEpicDiscussionsPager", "(", "projectIdOrPath", ",...
Get a list of all discussions for the specified epic. <pre><code>GitLab Endpoint: GET /projects/:id/epics/:epic_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param epicId the internal ID of the epic @return a list conta...
[ "Get", "a", "list", "of", "all", "discussions", "for", "the", "specified", "epic", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L169-L172
64,590
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getEpicDiscussionsPager
public Pager<Discussion> getEpicDiscussionsPager(Object projectIdOrPath, Integer epicId, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "epics", epicId, "discussions")); }
java
public Pager<Discussion> getEpicDiscussionsPager(Object projectIdOrPath, Integer epicId, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "epics", epicId, "discussions")); }
[ "public", "Pager", "<", "Discussion", ">", "getEpicDiscussionsPager", "(", "Object", "projectIdOrPath", ",", "Integer", "epicId", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Discussion", ">", "(", "t...
Get a Pager of Discussion instances for the specified epic. <pre><code>GitLab Endpoint: GET /projects/:id/epics/:epic_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param epicId the internal ID of the epic @param itemsPe...
[ "Get", "a", "Pager", "of", "Discussion", "instances", "for", "the", "specified", "epic", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L206-L209
64,591
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getEpicDiscussionsStream
public Stream<Discussion> getEpicDiscussionsStream(Object projectIdOrPath, Integer epicId) throws GitLabApiException { Pager<Discussion> pager = getEpicDiscussionsPager(projectIdOrPath, epicId, getDefaultPerPage()); return (pager.stream()); }
java
public Stream<Discussion> getEpicDiscussionsStream(Object projectIdOrPath, Integer epicId) throws GitLabApiException { Pager<Discussion> pager = getEpicDiscussionsPager(projectIdOrPath, epicId, getDefaultPerPage()); return (pager.stream()); }
[ "public", "Stream", "<", "Discussion", ">", "getEpicDiscussionsStream", "(", "Object", "projectIdOrPath", ",", "Integer", "epicId", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getEpicDiscussionsPager", "(", "projectIdOrPat...
Get a Stream of Discussion instances for the specified epic. <pre><code>GitLab Endpoint: GET /projects/:id/epics/:epic_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param epicId the internal ID of the epic @return a Str...
[ "Get", "a", "Stream", "of", "Discussion", "instances", "for", "the", "specified", "epic", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L221-L224
64,592
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getMergeRequestDiscussions
public List<Discussion> getMergeRequestDiscussions(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { Pager<Discussion> pager = getMergeRequestDiscussionsPager(projectIdOrPath, mergeRequestIid, getDefaultPerPage()); return (pager.all()); }
java
public List<Discussion> getMergeRequestDiscussions(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { Pager<Discussion> pager = getMergeRequestDiscussionsPager(projectIdOrPath, mergeRequestIid, getDefaultPerPage()); return (pager.all()); }
[ "public", "List", "<", "Discussion", ">", "getMergeRequestDiscussions", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getMergeRequestDiscussionsPager", "(", ...
Get a list of all discussions for the specified merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the interna...
[ "Get", "a", "list", "of", "all", "discussions", "for", "the", "specified", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L236-L239
64,593
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getMergeRequestDiscussionsPager
public Pager<Discussion> getMergeRequestDiscussionsPager(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", merge...
java
public Pager<Discussion> getMergeRequestDiscussionsPager(Object projectIdOrPath, Integer mergeRequestIid, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", merge...
[ "public", "Pager", "<", "Discussion", ">", "getMergeRequestDiscussionsPager", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Discussion", ...
Get a Pager of Discussion instances for the specified merge request. <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the i...
[ "Get", "a", "Pager", "of", "Discussion", "instances", "for", "the", "specified", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L273-L276
64,594
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getMergeRequestDiscussionsStream
public Stream<Discussion> getMergeRequestDiscussionsStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { Pager<Discussion> pager = getMergeRequestDiscussionsPager(projectIdOrPath, mergeRequestIid, getDefaultPerPage()); return (pager.stream()); }
java
public Stream<Discussion> getMergeRequestDiscussionsStream(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException { Pager<Discussion> pager = getMergeRequestDiscussionsPager(projectIdOrPath, mergeRequestIid, getDefaultPerPage()); return (pager.stream()); }
[ "public", "Stream", "<", "Discussion", ">", "getMergeRequestDiscussionsStream", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getMergeRequestDiscussionsPager",...
Get a Stream of Discussion instances for the specified merge request. <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid the internal ID of t...
[ "Get", "a", "Stream", "of", "Discussion", "instances", "for", "the", "specified", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L288-L291
64,595
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.resolveMergeRequestDiscussion
public Discussion resolveMergeRequestDiscussion(Object projectIdOrPath, Integer mergeRequestIid, Integer discussionId, Boolean resolved) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm().withParam("resolved", resolved, true); Response response = put(Response.Status.OK...
java
public Discussion resolveMergeRequestDiscussion(Object projectIdOrPath, Integer mergeRequestIid, Integer discussionId, Boolean resolved) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm().withParam("resolved", resolved, true); Response response = put(Response.Status.OK...
[ "public", "Discussion", "resolveMergeRequestDiscussion", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ",", "Integer", "discussionId", ",", "Boolean", "resolved", ")", "throws", "GitLabApiException", "{", "GitLabApiForm", "formData", "=", "new", "...
Resolve or unresolve whole discussion of a merge request. <pre><code>GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param mergeRequestIid mergeRequestIid...
[ "Resolve", "or", "unresolve", "whole", "discussion", "of", "a", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L349-L355
64,596
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.deleteMergeRequestDiscussionNote
public void deleteMergeRequestDiscussionNote(Object projectIdOrPath, Integer mergeRequestIid, Integer discussionId, Integer noteId) throws GitLabApiException { delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "discu...
java
public void deleteMergeRequestDiscussionNote(Object projectIdOrPath, Integer mergeRequestIid, Integer discussionId, Integer noteId) throws GitLabApiException { delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "discu...
[ "public", "void", "deleteMergeRequestDiscussionNote", "(", "Object", "projectIdOrPath", ",", "Integer", "mergeRequestIid", ",", "Integer", "discussionId", ",", "Integer", "noteId", ")", "throws", "GitLabApiException", "{", "delete", "(", "Response", ".", "Status", "."...
Deletes an existing discussion note of a merge request. <pre><code>GitLab Endpoint: DELETE /projects/:id/merge_requests/:merge_request_iid/discussions/:discussion_id/notes/:note_id</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param m...
[ "Deletes", "an", "existing", "discussion", "note", "of", "a", "merge", "request", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L368-L372
64,597
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getCommitDiscussions
public List<Discussion> getCommitDiscussions(Object projectIdOrPath, Integer commitId) throws GitLabApiException { Pager<Discussion> pager = getCommitDiscussionsPager(projectIdOrPath, commitId, getDefaultPerPage()); return (pager.all()); }
java
public List<Discussion> getCommitDiscussions(Object projectIdOrPath, Integer commitId) throws GitLabApiException { Pager<Discussion> pager = getCommitDiscussionsPager(projectIdOrPath, commitId, getDefaultPerPage()); return (pager.all()); }
[ "public", "List", "<", "Discussion", ">", "getCommitDiscussions", "(", "Object", "projectIdOrPath", ",", "Integer", "commitId", ")", "throws", "GitLabApiException", "{", "Pager", "<", "Discussion", ">", "pager", "=", "getCommitDiscussionsPager", "(", "projectIdOrPath"...
Get a list of all discussions for the specified commit. <pre><code>GitLab Endpoint: GET /projects/:id/commits/:commit_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param commitId the internal ID of the commit @return a ...
[ "Get", "a", "list", "of", "all", "discussions", "for", "the", "specified", "commit", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L384-L387
64,598
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getCommitDiscussions
public List<Discussion> getCommitDiscussions(Object projectIdOrPath, Integer commitId, int maxItems) throws GitLabApiException { if (maxItems < 1) { return (getCommitDiscussions(projectIdOrPath, commitId)); } else { Response response = get(Response.Status.OK, getPerPageQueryParam...
java
public List<Discussion> getCommitDiscussions(Object projectIdOrPath, Integer commitId, int maxItems) throws GitLabApiException { if (maxItems < 1) { return (getCommitDiscussions(projectIdOrPath, commitId)); } else { Response response = get(Response.Status.OK, getPerPageQueryParam...
[ "public", "List", "<", "Discussion", ">", "getCommitDiscussions", "(", "Object", "projectIdOrPath", ",", "Integer", "commitId", ",", "int", "maxItems", ")", "throws", "GitLabApiException", "{", "if", "(", "maxItems", "<", "1", ")", "{", "return", "(", "getComm...
Get a list of discussions for the specified commit. <pre><code>GitLab Endpoint: GET /projects/:id/commits/:commit_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param commitId the internal ID of the commit @param maxItem...
[ "Get", "a", "list", "of", "discussions", "for", "the", "specified", "commit", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L400-L408
64,599
gmessner/gitlab4j-api
src/main/java/org/gitlab4j/api/DiscussionsApi.java
DiscussionsApi.getCommitDiscussionsPager
public Pager<Discussion> getCommitDiscussionsPager(Object projectIdOrPath, Integer commitId, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "commits", commitId, "discussions"))...
java
public Pager<Discussion> getCommitDiscussionsPager(Object projectIdOrPath, Integer commitId, int itemsPerPage) throws GitLabApiException { return (new Pager<Discussion>(this, Discussion.class, itemsPerPage, null, "projects", getProjectIdOrPath(projectIdOrPath), "commits", commitId, "discussions"))...
[ "public", "Pager", "<", "Discussion", ">", "getCommitDiscussionsPager", "(", "Object", "projectIdOrPath", ",", "Integer", "commitId", ",", "int", "itemsPerPage", ")", "throws", "GitLabApiException", "{", "return", "(", "new", "Pager", "<", "Discussion", ">", "(", ...
Get a Pager of Discussion instances for the specified commit. <pre><code>GitLab Endpoint: GET /projects/:id/commits/:commit_id/discussions</code></pre> @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance @param commitId the internal ID of the commit @par...
[ "Get", "a", "Pager", "of", "Discussion", "instances", "for", "the", "specified", "commit", "." ]
ab045070abac0a8f4ccbf17b5ed9bfdef5723eed
https://github.com/gmessner/gitlab4j-api/blob/ab045070abac0a8f4ccbf17b5ed9bfdef5723eed/src/main/java/org/gitlab4j/api/DiscussionsApi.java#L421-L424