org.kohsuke.github
Class GHTeam
java.lang.Object
org.kohsuke.github.GHTeam
public class GHTeam
- extends java.lang.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 java.lang.String getName()
getPermission
public java.lang.String getPermission()
getId
public int getId()
getMembers
public java.util.Set<GHUser> getMembers()
throws java.io.IOException
- Retrieves the current members.
- Throws:
java.io.IOException
add
public void add(GHUser u)
throws java.io.IOException
- Adds a member to the team.
- Throws:
java.io.IOException
remove
public void remove(GHUser u)
throws java.io.IOException
- Removes a member to the team.
- Throws:
java.io.IOException
add
public void add(GHRepository r)
throws java.io.IOException
- Throws:
java.io.IOException
remove
public void remove(GHRepository r)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.