mirror of
https://github.com/jlengrand/github-api.git
synced 2026-05-11 00:11:27 +00:00
284 lines
19 KiB
HTML
284 lines
19 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_144) on Sat Oct 28 16:00:54 PDT 2017 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Uses of Class org.kohsuke.github.GHTeam (GitHub API for Java 1.90 API)</title>
|
|
<meta name="date" content="2017-10-28">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Uses of Class org.kohsuke.github.GHTeam (GitHub API for Java 1.90 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?org/kohsuke/github/class-use/GHTeam.html" target="_top">Frames</a></li>
|
|
<li><a href="GHTeam.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="header">
|
|
<h2 title="Uses of Class org.kohsuke.github.GHTeam" class="title">Uses of Class<br>org.kohsuke.github.GHTeam</h2>
|
|
</div>
|
|
<div class="classUseContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
|
<caption><span>Packages that use <a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Package</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#org.kohsuke.github">org.kohsuke.github</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="org.kohsuke.github">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a> in <a href="../../../../org/kohsuke/github/package-summary.html">org.kohsuke.github</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../org/kohsuke/github/package-summary.html">org.kohsuke.github</a> that return <a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#createTeam-java.lang.String-org.kohsuke.github.GHOrganization.Permission-java.util.Collection-">createTeam</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="../../../../org/kohsuke/github/GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a> p,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>> repositories)</code>
|
|
<div class="block">Creates a new team and assigns the repositories.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#createTeam-java.lang.String-org.kohsuke.github.GHOrganization.Permission-org.kohsuke.github.GHRepository...-">createTeam</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="../../../../org/kohsuke/github/GHOrganization.Permission.html" title="enum in org.kohsuke.github">GHOrganization.Permission</a> p,
|
|
<a href="../../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>... repositories)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#getTeamByName-java.lang.String-">getTeamByName</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
|
<div class="block">Finds a team that has the given name in its <a href="../../../../org/kohsuke/github/GHTeam.html#getName--"><code>getName()</code></a></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#getTeamBySlug-java.lang.String-">getTeamBySlug</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> slug)</code>
|
|
<div class="block">Finds a team that has the given slug in its <a href="../../../../org/kohsuke/github/GHTeam.html#getSlug--"><code>getSlug()</code></a></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../org/kohsuke/github/package-summary.html">org.kohsuke.github</a> that return types with arguments of type <a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GitHub.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GitHub.html#getMyTeams--">getMyTeams</a></span>()</code>
|
|
<div class="block">Gets complete map of organizations/teams that current user belongs to.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHBranchProtection.Restrictions.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHBranchProtection.Restrictions.html#getTeams--">getTeams</a></span>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHRepository.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHRepository.html#getTeams--">getTeams</a></span>()</code>
|
|
<div class="block">If this repository belongs to an organization, return a set of teams.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#getTeams--">getTeams</a></span>()</code>
|
|
<div class="block">Teams by their names.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#listTeams--">listTeams</a></span>()</code>
|
|
<div class="block">List up all the teams.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../org/kohsuke/github/package-summary.html">org.kohsuke.github</a> with parameters of type <a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHOrganization.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHOrganization.html#createRepository-java.lang.String-java.lang.String-java.lang.String-org.kohsuke.github.GHTeam-boolean-">createRepository</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> homepage,
|
|
<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a> team,
|
|
boolean isPublic)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">Use <a href="../../../../org/kohsuke/github/GHOrganization.html#createRepository-java.lang.String-"><code>GHOrganization.createRepository(String)</code></a> that uses a builder pattern to let you control every aspect.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHUser.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHUser.html#isMemberOf-org.kohsuke.github.GHTeam-">isMemberOf</a></span>(<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a> team)</code>
|
|
<div class="block">Returns true if this user belongs to the specified team.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHCreateRepositoryBuilder.html" title="class in org.kohsuke.github">GHCreateRepositoryBuilder</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHCreateRepositoryBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHCreateRepositoryBuilder.html#team-org.kohsuke.github.GHTeam-">team</a></span>(<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a> team)</code>
|
|
<div class="block">The team that gets granted access to this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html" title="class in org.kohsuke.github">GHBranchProtectionBuilder</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHBranchProtectionBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html#teamPushAccess-org.kohsuke.github.GHTeam...-">teamPushAccess</a></span>(<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>... teams)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html" title="class in org.kohsuke.github">GHBranchProtectionBuilder</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHBranchProtectionBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html#teamReviewDismissals-org.kohsuke.github.GHTeam...-">teamReviewDismissals</a></span>(<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>... teams)</code> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Method parameters in <a href="../../../../org/kohsuke/github/package-summary.html">org.kohsuke.github</a> with type arguments of type <a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html" title="class in org.kohsuke.github">GHBranchProtectionBuilder</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHBranchProtectionBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html#teamPushAccess-java.util.Collection-">teamPushAccess</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>> teams)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html" title="class in org.kohsuke.github">GHBranchProtectionBuilder</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">GHBranchProtectionBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/kohsuke/github/GHBranchProtectionBuilder.html#teamReviewDismissals-java.util.Collection-">teamReviewDismissals</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>> teams)</code> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?org/kohsuke/github/class-use/GHTeam.html" target="_top">Frames</a></li>
|
|
<li><a href="GHTeam.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small>Copyright © 2017. All rights reserved.</small></p>
|
|
</body>
|
|
</html>
|