org.kohsuke.github
Class GHOrganization
java.lang.Object
org.kohsuke.github.GHPerson
org.kohsuke.github.GHOrganization
public class GHOrganization
- extends GHPerson
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GHOrganization
public GHOrganization()
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
createTeam
public GHTeam createTeam(java.lang.String name,
GHOrganization.Permission p,
java.util.Collection<GHRepository> repositories)
throws java.io.IOException
- Creates a new team and assigns the repositories.
- Throws:
java.io.IOException
createTeam
public GHTeam createTeam(java.lang.String name,
GHOrganization.Permission p,
GHRepository... repositories)
throws java.io.IOException
- Throws:
java.io.IOException
getRepositoriesWithOpenPullRequests
public java.util.List<GHRepository> getRepositoriesWithOpenPullRequests()
throws java.io.IOException
- List up repositories that has some open pull requests.
- Throws:
java.io.IOException
getPullRequests
public java.util.List<GHPullRequest> getPullRequests()
throws java.io.IOException
- Gets all the open pull requests in this organizataion.
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.