|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.github.GHPerson
org.kohsuke.github.GHUser
org.kohsuke.github.GHMyself
public class GHMyself
Represents the account that's logging into GitHub.
| Field Summary |
|---|
| Fields inherited from class org.kohsuke.github.GHPerson |
|---|
avatar_url, blog, company, created_at, email, followers, following, gravatar_id, html_url, id, location, login, name, public_gists, public_repos, url |
| Constructor Summary | |
|---|---|
GHMyself()
|
|
| Method Summary | |
|---|---|
GHPersonSet<GHOrganization> |
getAllOrganizations()
Gets the organization that this user belongs to. |
Map<String,GHRepository> |
getAllRepositories()
Gets the all repositories this user owns (public and private). |
List<String> |
getEmails()
Deprecated. Use getEmails2() |
List<GHEmail> |
getEmails2()
Returns the read-only list of e-mail addresses configured for you. |
List<GHKey> |
getPublicKeys()
Returns the read-only list of all the pulic keys of the current user. |
List<GHVerifiedKey> |
getPublicVerifiedKeys()
Returns the read-only list of all the public verified keys of the current user. |
PagedIterable<GHRepository> |
listAllRepositories()
Deprecated. Use listRepositories() |
PagedIterable<GHRepository> |
listRepositories()
Lists up all repositories this user owns (public and private). |
| Methods inherited from class org.kohsuke.github.GHUser |
|---|
equals, follow, getFollowers, getFollows, getOrganizations, hashCode, isMemberOf, isMemberOf, isPublicMemberOf, listEvents, listGists, toString, unfollow |
| Methods inherited from class org.kohsuke.github.GHPerson |
|---|
getAvatarUrl, getBlog, getCompany, getCreatedAt, getEmail, getFollowersCount, getFollowingCount, getGravatarId, getHtmlUrl, getId, getLocation, getLogin, getName, getPublicGistCount, getPublicRepoCount, getRepositories, getRepository, iterateRepositories, listRepositories, populate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GHMyself()
| Method Detail |
|---|
public List<String> getEmails()
throws IOException
getEmails2()
IOException
public List<GHEmail> getEmails2()
throws IOException
GHPerson.getEmail() that shows your public e-mail address
set in https://github.com/settings/profile
IOException
public List<GHKey> getPublicKeys()
throws IOException
IOException
public List<GHVerifiedKey> getPublicVerifiedKeys()
throws IOException
IOException
public GHPersonSet<GHOrganization> getAllOrganizations()
throws IOException
IOException
public Map<String,GHRepository> getAllRepositories()
throws IOException
IOExceptionpublic PagedIterable<GHRepository> listRepositories()
getAllRepositories(), this does not wait until all the repositories are returned.
listRepositories in class GHPersonpublic PagedIterable<GHRepository> listAllRepositories()
listRepositories()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||