|
|||||||||
| 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.GHOrganization
public class GHOrganization
| Nested Class Summary | |
|---|---|
static class |
GHOrganization.Permission
|
| Field Summary |
|---|
| Fields inherited from class org.kohsuke.github.GHPerson |
|---|
avatar_url, blog, company, created_at, email, followers, followers_count, following, following_count, gravatar_id, html_url, id, location, login, name, public_gist_count, public_gists, public_repo_count, public_repos |
| Constructor Summary | |
|---|---|
GHOrganization()
|
|
| Method Summary | |
|---|---|
void |
conceal(GHUser u)
Conceals the membership. |
GHRepository |
createRepository(String name,
String description,
String homepage,
GHTeam team,
boolean isPublic)
|
GHRepository |
createRepository(String name,
String description,
String homepage,
String team,
boolean isPublic)
Creates a new repository. |
GHTeam |
createTeam(String name,
GHOrganization.Permission p,
Collection<GHRepository> repositories)
Creates a new team and assigns the repositories. |
GHTeam |
createTeam(String name,
GHOrganization.Permission p,
GHRepository... repositories)
|
List<GHUser> |
getMembers()
All the members of this organization. |
List<GHPullRequest> |
getPullRequests()
Gets all the open pull requests in this organizataion. |
List<GHRepository> |
getRepositoriesWithOpenPullRequests()
List up repositories that has some open pull requests. |
GHRepository |
getRepository(String name)
|
Map<String,GHTeam> |
getTeams()
Teams by their names. |
void |
publicize(GHUser u)
Publicizes the membership. |
| Methods inherited from class org.kohsuke.github.GHPerson |
|---|
getAvatarUrl, getBlog, getCompany, getCreatedAt, getEmail, getFollowersCount, getFollowingCount, getGravatarId, getId, getLocation, getLogin, getName, getPublicGistCount, getPublicRepoCount, getRepositories, iterateRepositories |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHOrganization()
| Method Detail |
|---|
public GHRepository createRepository(String name,
String description,
String homepage,
String team,
boolean isPublic)
throws IOException
IOException
public GHRepository createRepository(String name,
String description,
String homepage,
GHTeam team,
boolean isPublic)
throws IOException
IOException
public Map<String,GHTeam> getTeams()
throws IOException
IOException
public GHRepository getRepository(String name)
throws IOException
getRepository in class GHPersonIOException
public void publicize(GHUser u)
throws IOException
IOException
public List<GHUser> getMembers()
throws IOException
IOException
public void conceal(GHUser u)
throws IOException
IOException
public GHTeam createTeam(String name,
GHOrganization.Permission p,
Collection<GHRepository> repositories)
throws IOException
IOException
public GHTeam createTeam(String name,
GHOrganization.Permission p,
GHRepository... repositories)
throws IOException
IOException
public List<GHRepository> getRepositoriesWithOpenPullRequests()
throws IOException
IOException
public List<GHPullRequest> getPullRequests()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||