|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.github.GHTeam
public class GHTeam
A team in GitHub organization.
| Field Summary | |
|---|---|
protected GHOrganization |
org
|
| Constructor Summary | |
|---|---|
GHTeam()
|
|
| Method Summary | |
|---|---|
void |
add(GHRepository r)
|
void |
add(GHUser u)
Adds a member to the team. |
int |
getId()
|
Set<GHUser> |
getMembers()
Retrieves the current members. |
String |
getName()
|
String |
getPermission()
|
Map<String,GHRepository> |
getRepositories()
|
boolean |
hasMember(GHUser user)
Checks if this team has the specified user as a member. |
void |
remove(GHRepository r)
|
void |
remove(GHUser u)
Removes a member to the team. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GHOrganization org
| Constructor Detail |
|---|
public GHTeam()
| Method Detail |
|---|
public String getName()
public String getPermission()
public int getId()
public Set<GHUser> getMembers()
throws IOException
IOExceptionpublic boolean hasMember(GHUser user)
public Map<String,GHRepository> getRepositories()
throws IOException
IOException
public void add(GHUser u)
throws IOException
IOException
public void remove(GHUser u)
throws IOException
IOException
public void add(GHRepository r)
throws IOException
IOException
public void remove(GHRepository r)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||