org.kohsuke.github
Class GHTeam

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

public class GHTeam
extends java.lang.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()
           
 java.util.Set<GHUser> getMembers()
          Retrieves the current members.
 java.lang.String getName()
           
 java.lang.String getPermission()
           
 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 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.