org.kohsuke.github
Class GHTeam

java.lang.Object
  extended by org.kohsuke.github.GHTeam

public class GHTeam
extends Object

A team in GitHub organization.

Author:
Kohsuke Kawaguchi

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()
           
 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

org

protected GHOrganization org
Constructor Detail

GHTeam

public GHTeam()
Method Detail

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.