Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
java-gitlab-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
java-gitlab-api
Commits
710e8445
Commit
710e8445
authored
Jul 07, 2014
by
Diogo Neves
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GitlabUser imports
parent
e1d5bb54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
GitlabAPI.java
src/main/java/org/gitlab/api/GitlabAPI.java
+10
-8
No files found.
src/main/java/org/gitlab/api/GitlabAPI.java
View file @
710e8445
package
org
.
gitlab
.
api
;
import
java.io.IOException
;
import
java.net.URL
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
org.codehaus.jackson.map.DeserializationConfig
;
import
org.codehaus.jackson.map.ObjectMapper
;
import
org.gitlab.api.http.GitlabHTTPRequestor
;
...
...
@@ -21,6 +14,15 @@ import org.gitlab.api.models.GitlabProject;
import
org.gitlab.api.models.GitlabProjectHook
;
import
org.gitlab.api.models.GitlabProjectMember
;
import
org.gitlab.api.models.GitlabSession
;
import
org.gitlab.api.models.GitlabUser
;
import
java.io.IOException
;
import
java.net.URL
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
/**
* Gitlab API Wrapper class
...
...
@@ -86,7 +88,7 @@ public class GitlabAPI {
return
new
URL
(
_hostUrl
+
tailAPIUrl
);
}
public
List
<
GitlabUser
>
getUsers
()
throws
IOException
{
public
List
<
GitlabUser
>
getUsers
()
throws
IOException
{
String
tailUrl
=
GitlabUser
.
URL
;
return
retrieve
().
getAll
(
tailUrl
,
GitlabUser
[].
class
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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