org.kohsuke.github
Class GHPerson
java.lang.Object
org.kohsuke.github.GHPerson
- Direct Known Subclasses:
- GHOrganization, GHUser
public abstract class GHPerson
- extends Object
Common part of GHUser
and GHOrganization
.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gravatar_id
protected String gravatar_id
login
protected String login
public_gist_count
protected int public_gist_count
public_repo_count
protected int public_repo_count
following_count
protected int following_count
id
protected int id
GHPerson
public GHPerson()
getRepositories
public Map<String,GHRepository> getRepositories()
throws IOException
- Gets the repositories this user owns.
- Throws:
IOException
refreshRepository
protected GHRepository refreshRepository(String name)
throws IOException
- Fetches the repository of the given name from GitHub, and return it.
- Throws:
IOException
fetchRepository
protected GHRepository fetchRepository(String name)
throws IOException
- Throws:
IOException
getRepository
public GHRepository getRepository(String name)
throws IOException
- Throws:
IOException
getGravatarId
public String getGravatarId()
- Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105
getLogin
public String getLogin()
Copyright © 2011. All Rights Reserved.