| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Method and Description |
|---|---|
GHTeam |
GHOrganization.createTeam(String name,
Collection<GHRepository> repositories)
Creates a new team and assigns the repositories.
|
GHTeam |
GHOrganization.createTeam(String name,
GHOrganization.Permission p,
Collection<GHRepository> repositories)
Deprecated.
https://developer.github.com/v3/teams/#create-team deprecates permission field use
GHOrganization.createTeam(String, Collection) |
GHTeam |
GHOrganization.createTeam(String name,
GHOrganization.Permission p,
GHRepository... repositories)
Deprecated.
https://developer.github.com/v3/teams/#create-team deprecates permission field use
GHOrganization.createTeam(String, GHRepository...) |
GHTeam |
GHOrganization.createTeam(String name,
GHRepository... repositories)
Create team gh team.
|
GHTeam |
GitHub.getTeam(int id)
Gets a sigle team by ID.
|
GHTeam |
GHOrganization.getTeamByName(String name)
Finds a team that has the given name in its
getName() |
GHTeam |
GHOrganization.getTeamBySlug(String slug)
Finds a team that has the given slug in its
getSlug() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<GHTeam>> |
GitHub.getMyTeams()
Gets complete map of organizations/teams that current user belongs to.
|
List<GHTeam> |
GHPullRequest.getRequestedTeams()
Gets requested teams.
|
Map<String,GHTeam> |
GHOrganization.getTeams()
Teams by their names.
|
Set<GHTeam> |
GHRepository.getTeams()
If this repository belongs to an organization, return a set of teams.
|
Collection<GHTeam> |
GHBranchProtection.Restrictions.getTeams()
Gets teams.
|
PagedIterable<GHTeam> |
GHOrganization.listTeams()
List up all the teams.
|
| Modifier and Type | Method and Description |
|---|---|
GHRepository |
GHOrganization.createRepository(String name,
String description,
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.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.teamPushAccess(GHTeam... teams)
Team push access gh branch protection builder.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.teamReviewDismissals(GHTeam... teams)
Team review dismissals gh branch protection builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GHPullRequest.requestTeamReviewers(List<GHTeam> teams)
Request team reviewers.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.teamPushAccess(Collection<GHTeam> teams)
Team push access gh branch protection builder.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.teamReviewDismissals(Collection<GHTeam> teams)
Team review dismissals gh branch protection builder.
|
Copyright © 2020. All rights reserved.