org.kohsuke.github
Class GHTeam
java.lang.Object
org.kohsuke.github.GHTeam
public class GHTeam
- extends Object
A team in GitHub organization.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
org
protected GHOrganization org
GHTeam
public GHTeam()
getName
public String getName()
getPermission
public String getPermission()
getId
public int getId()
getMembers
public Set<GHUser> getMembers()
throws IOException
- Retrieves the current members.
- Throws:
IOException
getRepositories
public Map<String,GHRepository> getRepositories()
throws IOException
- Throws:
IOException
add
public void add(GHUser u)
throws IOException
- Adds a member to the team.
- Throws:
IOException
remove
public void remove(GHUser u)
throws IOException
- Removes a member to the team.
- Throws:
IOException
add
public void add(GHRepository r)
throws IOException
- Throws:
IOException
remove
public void remove(GHRepository r)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.