| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Method and Description |
|---|---|
GHTeam |
GHOrganization.createTeam(java.lang.String name,
GHOrganization.Permission p,
java.util.Collection<GHRepository> repositories)
Creates a new team and assigns the repositories.
|
GHTeam |
GHOrganization.createTeam(java.lang.String name,
GHOrganization.Permission p,
GHRepository... repositories) |
GHTeam |
GHOrganization.getTeamByName(java.lang.String name)
Finds a team that has the given name in its
getName() |
GHTeam |
GHOrganization.getTeamBySlug(java.lang.String slug)
Finds a team that has the given slug in its
getSlug() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.Set<GHTeam>> |
GitHub.getMyTeams()
Gets complete map of organizations/teams that current user belongs to.
|
java.util.Set<GHTeam> |
GHRepository.getTeams()
If this repository belongs to an organization, return a set of teams.
|
java.util.Map<java.lang.String,GHTeam> |
GHOrganization.getTeams()
Teams by their names.
|
PagedIterable<GHTeam> |
GHOrganization.listTeams()
List up all the teams.
|
| Modifier and Type | Method and Description |
|---|---|
GHRepository |
GHOrganization.createRepository(java.lang.String name,
java.lang.String description,
java.lang.String homepage,
GHTeam team,
boolean isPublic)
Deprecated.
Use
GHOrganization.createRepository(String) that uses a builder pattern to let you control every aspect. |
boolean |
GHUser.isMemberOf(GHTeam team)
Returns true if this user belongs to the specified team.
|
GHCreateRepositoryBuilder |
GHCreateRepositoryBuilder.team(GHTeam team)
The team that gets granted access to this repository.
|
Copyright © 2016. All Rights Reserved.