org.kohsuke.github
Class GHPerson

java.lang.Object
  extended by org.kohsuke.github.GHPerson
Direct Known Subclasses:
GHOrganization, GHUser

public abstract class GHPerson
extends java.lang.Object

Common part of GHUser and GHOrganization.

Author:
Kohsuke Kawaguchi

Field Summary
protected  int following_count
           
protected  java.lang.String gravatar_id
           
protected  int id
           
protected  java.lang.String login
           
protected  int public_gist_count
           
protected  int public_repo_count
           
 
Constructor Summary
GHPerson()
           
 
Method Summary
 java.lang.String getGravatarId()
          Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105
 java.lang.String getLogin()
           
 java.util.Map<java.lang.String,GHRepository> getRepositories()
          Gets the repositories this user owns.
 GHRepository getRepository(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gravatar_id

protected java.lang.String gravatar_id

login

protected java.lang.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
Constructor Detail

GHPerson

public GHPerson()
Method Detail

getRepositories

public java.util.Map<java.lang.String,GHRepository> getRepositories()
                                                             throws java.io.IOException
Gets the repositories this user owns.

Throws:
java.io.IOException

getRepository

public GHRepository getRepository(java.lang.String name)
                           throws java.io.IOException
Throws:
java.io.IOException

getGravatarId

public java.lang.String getGravatarId()
Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105


getLogin

public java.lang.String getLogin()


Copyright © 2010. All Rights Reserved.