Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
18342c62
Commit
18342c62
authored
Sep 12, 2018
by
Greg Messner
Browse files
Updated for release 4.8.47
parent
466d0780
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
18342c62
...
...
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```
java
dependencies
{
...
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.8
.
4
6
'
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.8
.
4
7
'
}
```
...
...
@@ -22,7 +22,7 @@ dependencies {
<dependency>
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<version>
4.8.4
6
</version>
<version>
4.8.4
7
</version>
</dependency>
```
...
...
src/main/java/org/gitlab4j/api/IssuesApi.java
View file @
18342c62
...
...
@@ -137,7 +137,7 @@ public class IssuesApi extends AbstractApi implements Constants {
* @param projectIdOrPath The ID or URL-encoded path of the project owned by the authenticated user.
* @param filter {@link IssueFilter} a IssueFilter instance with the filter settings
* @return the list of issues in the specified range.
* @throws GitLabApiException
* @throws GitLabApiException
if any exception occurs
*/
public
List
<
Issue
>
getIssues
(
Object
projectIdOrPath
,
IssueFilter
filter
)
throws
GitLabApiException
{
return
(
getIssues
(
projectIdOrPath
,
filter
,
1
,
getDefaultPerPage
()));
...
...
@@ -153,7 +153,7 @@ public class IssuesApi extends AbstractApi implements Constants {
* @param page the page to get.
* @param perPage the number of projects per page.
* @return the list of issues in the specified range.
* @throws GitLabApiException
* @throws GitLabApiException
if any exception occurs
*/
public
List
<
Issue
>
getIssues
(
Object
projectIdOrPath
,
IssueFilter
filter
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
...
...
@@ -171,7 +171,7 @@ public class IssuesApi extends AbstractApi implements Constants {
* @param filter {@link IssueFilter} a IssueFilter instance with the filter settings.
* @param itemsPerPage the number of Project instances that will be fetched per page.
* @return the list of issues in the specified range.
* @throws GitLabApiException
* @throws GitLabApiException
if any exception occurs
*/
public
Pager
<
Issue
>
getIssues
(
Object
projectIdOrPath
,
IssueFilter
filter
,
int
itemsPerPage
)
throws
GitLabApiException
{
...
...
@@ -188,7 +188,7 @@ public class IssuesApi extends AbstractApi implements Constants {
*
* @param filter {@link IssueFilter} a IssueFilter instance with the filter settings
* @return the list of issues in the specified range.
* @throws GitLabApiException
* @throws GitLabApiException
if any exception occurs
*/
public
List
<
Issue
>
getIssues
(
IssueFilter
filter
)
throws
GitLabApiException
{
return
(
getIssues
(
filter
,
1
,
getDefaultPerPage
()));
...
...
@@ -204,7 +204,7 @@ public class IssuesApi extends AbstractApi implements Constants {
* @param page the page to get.
* @param perPage the number of projects per page.
* @return the list of issues in the specified range.
* @throws GitLabApiException
* @throws GitLabApiException
if any exception occurs
*/
public
List
<
Issue
>
getIssues
(
IssueFilter
filter
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
...
...
@@ -222,7 +222,7 @@ public class IssuesApi extends AbstractApi implements Constants {
* @param filter {@link IssueFilter} a IssueFilter instance with the filter settings.
* @param itemsPerPage the number of Project instances that will be fetched per page.
* @return the list of issues in the specified range.
* @throws GitLabApiException
* @throws GitLabApiException
if any exception occurs
*/
public
Pager
<
Issue
>
getIssues
(
IssueFilter
filter
,
int
itemsPerPage
)
throws
GitLabApiException
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment