Class UserServiceEx
- java.lang.Object
-
- org.eclipse.egit.github.core.service.GitHubService
-
- org.eclipse.egit.github.core.service.UserService
-
- jetbrains.buildServer.serverSide.oauth.github.UserServiceEx
-
public class UserServiceEx extends org.eclipse.egit.github.core.service.UserService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserServiceEx.Email
-
Constructor Summary
Constructors Constructor Description UserServiceEx(org.eclipse.egit.github.core.client.GitHubClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserEx
getUser()
List<UserServiceEx.Email>
getUserEmails()
UserService.getEmails()
doesn't work, because it expect that GitHub returns list of strings, but it returns list of email objects: [ { "email": "octocat@github.com", "verified": true, "primary": true, "visibility": "public" } ]-
Methods inherited from class org.eclipse.egit.github.core.service.UserService
addEmail, createFollowersRequest, createFollowingRequest, createKey, deleteKey, editKey, editUser, follow, getEmails, getFollowers, getFollowers, getFollowing, getFollowing, getKey, getKeys, getUser, isFollowing, pageFollowers, pageFollowers, pageFollowers, pageFollowers, pageFollowers, pageFollowers, pageFollowing, pageFollowing, pageFollowing, pageFollowing, pageFollowing, pageFollowing, removeEmail, unfollow
-
-
-
-
Method Detail
-
getUserEmails
public List<UserServiceEx.Email> getUserEmails() throws IOException
UserService.getEmails()
doesn't work, because it expect that GitHub returns list of strings, but it returns list of email objects: [ { "email": "octocat@github.com", "verified": true, "primary": true, "visibility": "public" } ]- Throws:
IOException
-
getUser
public UserEx getUser() throws IOException
- Overrides:
getUser
in classorg.eclipse.egit.github.core.service.UserService
- Throws:
IOException
-
-