org.kohsuke.github
Class GHOrganization

java.lang.Object
  extended by org.kohsuke.github.GHPerson
      extended by org.kohsuke.github.GHOrganization

public class GHOrganization
extends GHPerson

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.kohsuke.github.GHPerson
following_count, gravatar_id, id, login, public_gist_count, public_repo_count
 
Constructor Summary
GHOrganization()
           
 
Method Summary
 GHRepository createRepository(java.lang.String name, java.lang.String description, java.lang.String homepage, java.lang.String team, boolean isPublic)
          Creates a new repository.
 java.util.Map<java.lang.String,GHTeam> getTeams()
          Teams by their names.
 
Methods inherited from class org.kohsuke.github.GHPerson
getGravatarId, getLogin, getRepositories, getRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHOrganization

public GHOrganization()
Method Detail

createRepository

public GHRepository createRepository(java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String homepage,
                                     java.lang.String team,
                                     boolean isPublic)
                              throws java.io.IOException
Creates a new repository.

Returns:
Newly created repository.
Throws:
java.io.IOException

getTeams

public java.util.Map<java.lang.String,GHTeam> getTeams()
                                                throws java.io.IOException
Teams by their names.

Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.