Files
github-api/apidocs/org/kohsuke/github/GHRepository.html
2016-11-16 22:56:38 -08:00

2842 lines
139 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) on Wed Nov 16 22:56:05 PST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GHRepository (GitHub API for Java 1.80 API)</title>
<meta name="date" content="2016-11-16">
<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="GHRepository (GitHub API for Java 1.80 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":42,"i57":42,"i58":42,"i59":10,"i60":42,"i61":10,"i62":10,"i63":42,"i64":10,"i65":10,"i66":10,"i67":10,"i68":42,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":42,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":42,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/GHRepository.html">Use</a></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><a href="../../../org/kohsuke/github/GHReleaseBuilder.html" title="class in org.kohsuke.github"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/kohsuke/github/GHRepository.html" target="_top">Frames</a></li>
<li><a href="GHRepository.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.kohsuke.github.GHObject">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.kohsuke.github</div>
<h2 title="Class GHRepository" class="title">Class GHRepository</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../org/kohsuke/github/GHObject.html" title="class in org.kohsuke.github">org.kohsuke.github.GHObject</a></li>
<li>
<ul class="inheritance">
<li>org.kohsuke.github.GHRepository</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">GHRepository</span>
extends <a href="../../../org/kohsuke/github/GHObject.html" title="class in org.kohsuke.github">GHObject</a></pre>
<div class="block">A repository on GitHub.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Kohsuke Kawaguchi</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github">GHRepository.Contributor</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.ForkSort.html" title="enum in org.kohsuke.github">GHRepository.ForkSort</a></span></code>
<div class="block">Sort orders for listing forks</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.kohsuke.github.GHObject">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.kohsuke.github.<a href="../../../org/kohsuke/github/GHObject.html" title="class in org.kohsuke.github">GHObject</a></h3>
<code><a href="../../../org/kohsuke/github/GHObject.html#created_at">created_at</a>, <a href="../../../org/kohsuke/github/GHObject.html#id">id</a>, <a href="../../../org/kohsuke/github/GHObject.html#updated_at">updated_at</a>, <a href="../../../org/kohsuke/github/GHObject.html#url">url</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#GHRepository--">GHRepository</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#addCollaborators-java.util.Collection-">addCollaborators</a></span>(java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;users)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#addCollaborators-org.kohsuke.github.GHUser...-">addCollaborators</a></span>(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>...&nbsp;users)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHDeployKey.html" title="class in org.kohsuke.github">GHDeployKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#addDeployKey-java.lang.String-java.lang.String-">addDeployKey</a></span>(java.lang.String&nbsp;title,
java.lang.String&nbsp;key)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createCommitStatus-java.lang.String-org.kohsuke.github.GHCommitState-java.lang.String-java.lang.String-">createCommitStatus</a></span>(java.lang.String&nbsp;sha1,
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a>&nbsp;state,
java.lang.String&nbsp;targetUrl,
java.lang.String&nbsp;description)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createCommitStatus-java.lang.String-org.kohsuke.github.GHCommitState-java.lang.String-java.lang.String-java.lang.String-">createCommitStatus</a></span>(java.lang.String&nbsp;sha1,
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a>&nbsp;state,
java.lang.String&nbsp;targetUrl,
java.lang.String&nbsp;description,
java.lang.String&nbsp;context)</code>
<div class="block">Creates a commit status</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createContent-byte:A-java.lang.String-java.lang.String-">createContent</a></span>(byte[]&nbsp;contentBytes,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createContent-byte:A-java.lang.String-java.lang.String-java.lang.String-">createContent</a></span>(byte[]&nbsp;contentBytes,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path,
java.lang.String&nbsp;branch)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createContent-java.lang.String-java.lang.String-java.lang.String-">createContent</a></span>(java.lang.String&nbsp;content,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createContent-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createContent</a></span>(java.lang.String&nbsp;content,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path,
java.lang.String&nbsp;branch)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHDeploymentBuilder.html" title="class in org.kohsuke.github">GHDeploymentBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createDeployment-java.lang.String-">createDeployment</a></span>(java.lang.String&nbsp;ref)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHDeploymentStatusBuilder.html" title="class in org.kohsuke.github">GHDeploymentStatusBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createDeployStatus-int-org.kohsuke.github.GHDeploymentState-">createDeployStatus</a></span>(int&nbsp;deploymentId,
<a href="../../../org/kohsuke/github/GHDeploymentState.html" title="enum in org.kohsuke.github">GHDeploymentState</a>&nbsp;ghDeploymentState)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createHook-java.lang.String-java.util.Map-java.util.Collection-boolean-">createHook</a></span>(java.lang.String&nbsp;name,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;config,
java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events,
boolean&nbsp;active)</code>
<div class="block">See https://api.github.com/hooks for possible names and their configuration scheme.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHIssueBuilder.html" title="class in org.kohsuke.github">GHIssueBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createIssue-java.lang.String-">createIssue</a></span>(java.lang.String&nbsp;title)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createLabel-java.lang.String-java.lang.String-">createLabel</a></span>(java.lang.String&nbsp;name,
java.lang.String&nbsp;color)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createMilestone-java.lang.String-java.lang.String-">createMilestone</a></span>(java.lang.String&nbsp;title,
java.lang.String&nbsp;description)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createPullRequest-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createPullRequest</a></span>(java.lang.String&nbsp;title,
java.lang.String&nbsp;head,
java.lang.String&nbsp;base,
java.lang.String&nbsp;body)</code>
<div class="block">Creates a new pull request.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createRef-java.lang.String-java.lang.String-">createRef</a></span>(java.lang.String&nbsp;name,
java.lang.String&nbsp;sha)</code>
<div class="block">Creates a named ref, such as tag, branch, etc.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHReleaseBuilder.html" title="class in org.kohsuke.github">GHReleaseBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createRelease-java.lang.String-">createRelease</a></span>(java.lang.String&nbsp;tag)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createWebHook-java.net.URL-">createWebHook</a></span>(java.net.URL&nbsp;url)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createWebHook-java.net.URL-java.util.Collection-">createWebHook</a></span>(java.net.URL&nbsp;url,
java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#delete--">delete</a></span>()</code>
<div class="block">Deletes this repository.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#enableDownloads-boolean-">enableDownloads</a></span>(boolean&nbsp;v)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#enableIssueTracker-boolean-">enableIssueTracker</a></span>(boolean&nbsp;v)</code>
<div class="block">Enables or disables the issue tracker for this repository.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#enableWiki-boolean-">enableWiki</a></span>(boolean&nbsp;v)</code>
<div class="block">Enables or disables Wiki for this repository.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#fork--">fork</a></span>()</code>
<div class="block">Forks this repository as your repository.</div>
</td>
</tr>
<tr id="i26" 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"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#forkTo-org.kohsuke.github.GHOrganization-">forkTo</a></span>(<a href="../../../org/kohsuke/github/GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a>&nbsp;org)</code>
<div class="block">Forks this repository into an organization.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getBranch-java.lang.String-">getBranch</a></span>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getBranches--">getBranches</a></span>()</code>
<div class="block">Gets branches by <a href="../../../org/kohsuke/github/GHBranch.html#getName--">their names</a>.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>java.util.Set&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCollaboratorNames--">getCollaboratorNames</a></span>()</code>
<div class="block">Gets the names of the collaborators on this repository.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPersonSet.html" title="class in org.kohsuke.github">GHPersonSet</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCollaborators--">getCollaborators</a></span>()</code>
<div class="block">Gets the collaborators on this repository.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCommit-java.lang.String-">getCommit</a></span>(java.lang.String&nbsp;sha1)</code>
<div class="block">Gets a commit object in this repository.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCompare-org.kohsuke.github.GHBranch-org.kohsuke.github.GHBranch-">getCompare</a></span>(<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&nbsp;id1,
<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&nbsp;id2)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCompare-org.kohsuke.github.GHCommit-org.kohsuke.github.GHCommit-">getCompare</a></span>(<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&nbsp;id1,
<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&nbsp;id2)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCompare-java.lang.String-java.lang.String-">getCompare</a></span>(java.lang.String&nbsp;id1,
java.lang.String&nbsp;id2)</code>
<div class="block">Gets a comparison between 2 points in the repository.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDefaultBranch--">getDefaultBranch</a></span>()</code>
<div class="block">Returns the primary branch you'll configure in the "Admin &gt; Options" config page.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHDeployKey.html" title="class in org.kohsuke.github">GHDeployKey</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDeployKeys--">getDeployKeys</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHDeploymentStatus.html" title="class in org.kohsuke.github">GHDeploymentStatus</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDeploymentStatuses-int-">getDeploymentStatuses</a></span>(int&nbsp;id)</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDescription--">getDescription</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDirectoryContent-java.lang.String-">getDirectoryContent</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDirectoryContent-java.lang.String-java.lang.String-">getDirectoryContent</a></span>(java.lang.String&nbsp;path,
java.lang.String&nbsp;ref)</code>&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getFileContent-java.lang.String-">getFileContent</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getFileContent-java.lang.String-java.lang.String-">getFileContent</a></span>(java.lang.String&nbsp;path,
java.lang.String&nbsp;ref)</code>&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getForks--">getForks</a></span>()</code>
<div class="block">Returns the number of all forks of this repository.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getFullName--">getFullName</a></span>()</code>
<div class="block">Full repository name including the owner or organization.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getGitTransportUrl--">getGitTransportUrl</a></span>()</code>
<div class="block">Gets the git:// URL to this repository, such as "git://github.com/kohsuke/jenkins.git"
This URL is read-only.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getHomepage--">getHomepage</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getHook-int-">getHook</a></span>(int&nbsp;id)</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getHooks--">getHooks</a></span>()</code>
<div class="block">Retrieves the currently configured hooks.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>java.net.URL</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getHtmlUrl--">getHtmlUrl</a></span>()</code>
<div class="block">URL of this object for humans, which renders some HTML.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getIssue-int-">getIssue</a></span>(int&nbsp;id)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getIssues-org.kohsuke.github.GHIssueState-">getIssues</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</code>&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getIssues-org.kohsuke.github.GHIssueState-org.kohsuke.github.GHMilestone-">getIssues</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state,
<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&nbsp;milestone)</code>&nbsp;</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getLabel-java.lang.String-">getLabel</a></span>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getLanguage--">getLanguage</a></span>()</code>
<div class="block">Gets the primary programming language.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getLastCommitStatus-java.lang.String-">getLastCommitStatus</a></span>(java.lang.String&nbsp;sha1)</code>
<div class="block">Gets the last status of this commit, which is what gets shown in the UI.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHLicense.html" title="class in org.kohsuke.github">GHLicense</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getLicense--">getLicense</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getLicenseContent--">getLicenseContent</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getMasterBranch--">getMasterBranch</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Renamed to <a href="../../../org/kohsuke/github/GHRepository.html#getDefaultBranch--"><code>getDefaultBranch()</code></a></span></div>
</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getMilestone-int-">getMilestone</a></span>(int&nbsp;number)</code>&nbsp;</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.Integer,<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getMilestones--">getMilestones</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../org/kohsuke/github/GHRepository.html#listMilestones-org.kohsuke.github.GHIssueState-"><code>listMilestones(GHIssueState)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getMirrorUrl--">getMirrorUrl</a></span>()</code>
<div class="block">Gets the Mirror URL to access this repository: https://github.com/apache/tomee
mirrored from git://git.apache.org/tomee.git</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getName--">getName</a></span>()</code>
<div class="block">Short repository name without the owner.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getNetworkCount--">getNetworkCount</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">This no longer exists in the official API documentation.
Use <a href="../../../org/kohsuke/github/GHRepository.html#getForks--"><code>getForks()</code></a></span></div>
</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getOpenIssueCount--">getOpenIssueCount</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getOwner--">getOwner</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getOwnerName--">getOwnerName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getParent--">getParent</a></span>()</code>
<div class="block">Forked repositories have a 'parent' attribute that specifies the repository this repository
is directly forked from.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;java.net.URL&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPostCommitHooks--">getPostCommitHooks</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../org/kohsuke/github/GHRepository.html#getHooks--"><code>getHooks()</code></a> and <a href="../../../org/kohsuke/github/GHRepository.html#createHook-java.lang.String-java.util.Map-java.util.Collection-boolean-"><code>createHook(String, Map, Collection, boolean)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPullRequest-int-">getPullRequest</a></span>(int&nbsp;i)</code>
<div class="block">Retrieves a specified pull request.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPullRequests-org.kohsuke.github.GHIssueState-">getPullRequests</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</code>
<div class="block">Retrieves all the pull requests of a particular state.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPushedAt--">getPushedAt</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getReadme--">getReadme</a></span>()</code>
<div class="block">https://developer.github.com/v3/repos/contents/#get-the-readme</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getRef-java.lang.String-">getRef</a></span>(java.lang.String&nbsp;refName)</code>
<div class="block">Retrive a ref of the given type for the current GitHub repository.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getRefs--">getRefs</a></span>()</code>
<div class="block">Retrieves all refs for the github repository.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getRefs-java.lang.String-">getRefs</a></span>(java.lang.String&nbsp;refType)</code>
<div class="block">Retrieves all refs of the given type for the current GitHub repository.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getReleases--">getReleases</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">use <a href="../../../org/kohsuke/github/GHRepository.html#listReleases--"><code>listReleases()</code></a></span></div>
</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getSize--">getSize</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i78" 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"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getSource--">getSource</a></span>()</code>
<div class="block">Forked repositories have a 'source' attribute that specifies the ultimate source of the forking chain.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getSshUrl--">getSshUrl</a></span>()</code>
<div class="block">Gets the SSH URL to access this repository, such as git@github.com:rails/rails.git</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getStargazersCount--">getStargazersCount</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getSubscribersCount--">getSubscribersCount</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHSubscription.html" title="class in org.kohsuke.github">GHSubscription</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getSubscription--">getSubscription</a></span>()</code>
<div class="block">Returns the current subscription.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getSvnUrl--">getSvnUrl</a></span>()</code>
<div class="block">Gets the Subversion URL to access this repository: https://github.com/rails/rails</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&gt;</code></td>
<td class="colLast"><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 id="i85" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHTree.html" title="class in org.kohsuke.github">GHTree</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getTree-java.lang.String-">getTree</a></span>(java.lang.String&nbsp;sha)</code>
<div class="block">Retrive a tree of the given type for the current GitHub repository.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHTree.html" title="class in org.kohsuke.github">GHTree</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getTreeRecursive-java.lang.String-int-">getTreeRecursive</a></span>(java.lang.String&nbsp;sha,
int&nbsp;recursive)</code>
<div class="block">Retrieves the tree for the current GitHub repository, recursively as described in here:
https://developer.github.com/v3/git/trees/#get-a-tree-recursively</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getWatchers--">getWatchers</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#gitHttpTransportUrl--">gitHttpTransportUrl</a></span>()</code>
<div class="block">Gets the HTTPS URL to this repository, such as "https://github.com/kohsuke/jenkins.git"
This URL is read-only.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasAdminAccess--">hasAdminAccess</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasDownloads--">hasDownloads</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasIssues--">hasIssues</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasPages--">hasPages</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasPullAccess--">hasPullAccess</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasPushAccess--">hasPushAccess</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasWiki--">hasWiki</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#isFork--">isFork</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#isPrivate--">isPrivate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listCollaborators--">listCollaborators</a></span>()</code>
<div class="block">Lists up the collaborators on this repository.</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHCommitComment.html" title="class in org.kohsuke.github">GHCommitComment</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listCommitComments--">listCommitComments</a></span>()</code>
<div class="block">Lists up all the commit comments in this repository.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listCommits--">listCommits</a></span>()</code>
<div class="block">Lists all the commits.</div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listCommitStatuses-java.lang.String-">listCommitStatuses</a></span>(java.lang.String&nbsp;sha1)</code>
<div class="block">/**
Lists all the commit statues attached to the given commit, newer ones first.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github">GHRepository.Contributor</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listContributors--">listContributors</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github">GHDeployment</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listDeployments-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">listDeployments</a></span>(java.lang.String&nbsp;sha,
java.lang.String&nbsp;ref,
java.lang.String&nbsp;task,
java.lang.String&nbsp;environment)</code>&nbsp;</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHEventInfo.html" title="class in org.kohsuke.github">GHEventInfo</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listEvents--">listEvents</a></span>()</code>
<div class="block">Lists repository events.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listForks--">listForks</a></span>()</code>
<div class="block">Lists all the direct forks of this repository, sorted by
github api default, currently <a href="../../../org/kohsuke/github/GHRepository.ForkSort.html#NEWEST"><code>ForkSort.NEWEST</code></a>.</div>
</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listForks-org.kohsuke.github.GHRepository.ForkSort-">listForks</a></span>(<a href="../../../org/kohsuke/github/GHRepository.ForkSort.html" title="enum in org.kohsuke.github">GHRepository.ForkSort</a>&nbsp;sort)</code>
<div class="block">Lists all the direct forks of this repository, sorted by the given sort order.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listIssues-org.kohsuke.github.GHIssueState-">listIssues</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</code>
<div class="block">Lists up all the issues in this repository.</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listLabels--">listLabels</a></span>()</code>
<div class="block">Lists labels in this repository.</div>
</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.Long&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listLanguages--">listLanguages</a></span>()</code>
<div class="block">List languages for the specified repository.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listMilestones-org.kohsuke.github.GHIssueState-">listMilestones</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</code>
<div class="block">Lists up all the milestones in this repository.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHNotificationStream.html" title="class in org.kohsuke.github">GHNotificationStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listNotifications--">listNotifications</a></span>()</code>
<div class="block">List all the notifications in a repository for the current user.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listPullRequests-org.kohsuke.github.GHIssueState-">listPullRequests</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../org/kohsuke/github/GHRepository.html#queryPullRequests--"><code>queryPullRequests()</code></a></span></div>
</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listReleases--">listReleases</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listStargazers--">listStargazers</a></span>()</code>
<div class="block">Lists all the users who have starred this repo based on the old version of the API.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHStargazer.html" title="class in org.kohsuke.github">GHStargazer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listStargazers2--">listStargazers2</a></span>()</code>
<div class="block">Lists all the users who have starred this repo based on new version of the API, having extended
information like the time when the repository was starred.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listSubscribers--">listSubscribers</a></span>()</code>
<div class="block">Lists all the subscribers (aka watchers.)
https://developer.github.com/v3/activity/watching/</div>
</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHTag.html" title="class in org.kohsuke.github">GHTag</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listTags--">listTags</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCommitQueryBuilder.html" title="class in org.kohsuke.github">GHCommitQueryBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#queryCommits--">queryCommits</a></span>()</code>
<div class="block">Search commits by specifying filters through a builder pattern.</div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPullRequestQueryBuilder.html" title="class in org.kohsuke.github">GHPullRequestQueryBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#queryPullRequests--">queryPullRequests</a></span>()</code>
<div class="block">Retrieves pull requests.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#removeCollaborators-java.util.Collection-">removeCollaborators</a></span>(java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;users)</code>&nbsp;</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#removeCollaborators-org.kohsuke.github.GHUser...-">removeCollaborators</a></span>(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>...&nbsp;users)</code>&nbsp;</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#renameTo-java.lang.String-">renameTo</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Rename this repository.</div>
</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>java.io.Reader</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#renderMarkdown-java.lang.String-org.kohsuke.github.MarkdownMode-">renderMarkdown</a></span>(java.lang.String&nbsp;text,
<a href="../../../org/kohsuke/github/MarkdownMode.html" title="enum in org.kohsuke.github">MarkdownMode</a>&nbsp;mode)</code>
<div class="block">Render a Markdown document.</div>
</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#setDefaultBranch-java.lang.String-">setDefaultBranch</a></span>(java.lang.String&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#setDescription-java.lang.String-">setDescription</a></span>(java.lang.String&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#setEmailServiceHook-java.lang.String-">setEmailServiceHook</a></span>(java.lang.String&nbsp;address)</code>&nbsp;</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#setHomepage-java.lang.String-">setHomepage</a></span>(java.lang.String&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHSubscription.html" title="class in org.kohsuke.github">GHSubscription</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#subscribe-boolean-boolean-">subscribe</a></span>(boolean&nbsp;subscribed,
boolean&nbsp;ignored)</code>
<div class="block">Subscribes to this repository to get notifications.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.kohsuke.github.GHObject">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.kohsuke.github.<a href="../../../org/kohsuke/github/GHObject.html" title="class in org.kohsuke.github">GHObject</a></h3>
<code><a href="../../../org/kohsuke/github/GHObject.html#getCreatedAt--">getCreatedAt</a>, <a href="../../../org/kohsuke/github/GHObject.html#getId--">getId</a>, <a href="../../../org/kohsuke/github/GHObject.html#getUpdatedAt--">getUpdatedAt</a>, <a href="../../../org/kohsuke/github/GHObject.html#getUrl--">getUrl</a>, <a href="../../../org/kohsuke/github/GHObject.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GHRepository--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GHRepository</h4>
<pre>public&nbsp;GHRepository()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createDeployment-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDeployment</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHDeploymentBuilder.html" title="class in org.kohsuke.github">GHDeploymentBuilder</a>&nbsp;createDeployment(java.lang.String&nbsp;ref)</pre>
</li>
</ul>
<a name="getDeploymentStatuses-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeploymentStatuses</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHDeploymentStatus.html" title="class in org.kohsuke.github">GHDeploymentStatus</a>&gt;&nbsp;getDeploymentStatuses(int&nbsp;id)</pre>
</li>
</ul>
<a name="listDeployments-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listDeployments</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github">GHDeployment</a>&gt;&nbsp;listDeployments(java.lang.String&nbsp;sha,
java.lang.String&nbsp;ref,
java.lang.String&nbsp;task,
java.lang.String&nbsp;environment)</pre>
</li>
</ul>
<a name="createDeployStatus-int-org.kohsuke.github.GHDeploymentState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDeployStatus</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHDeploymentStatusBuilder.html" title="class in org.kohsuke.github">GHDeploymentStatusBuilder</a>&nbsp;createDeployStatus(int&nbsp;deploymentId,
<a href="../../../org/kohsuke/github/GHDeploymentState.html" title="enum in org.kohsuke.github">GHDeploymentState</a>&nbsp;ghDeploymentState)</pre>
</li>
</ul>
<a name="getDescription--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescription</h4>
<pre>public&nbsp;java.lang.String&nbsp;getDescription()</pre>
</li>
</ul>
<a name="getHomepage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHomepage</h4>
<pre>public&nbsp;java.lang.String&nbsp;getHomepage()</pre>
</li>
</ul>
<a name="getGitTransportUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGitTransportUrl</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGitTransportUrl()</pre>
<div class="block">Gets the git:// URL to this repository, such as "git://github.com/kohsuke/jenkins.git"
This URL is read-only.</div>
</li>
</ul>
<a name="gitHttpTransportUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gitHttpTransportUrl</h4>
<pre>public&nbsp;java.lang.String&nbsp;gitHttpTransportUrl()</pre>
<div class="block">Gets the HTTPS URL to this repository, such as "https://github.com/kohsuke/jenkins.git"
This URL is read-only.</div>
</li>
</ul>
<a name="getSvnUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSvnUrl</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSvnUrl()</pre>
<div class="block">Gets the Subversion URL to access this repository: https://github.com/rails/rails</div>
</li>
</ul>
<a name="getMirrorUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMirrorUrl</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMirrorUrl()</pre>
<div class="block">Gets the Mirror URL to access this repository: https://github.com/apache/tomee
mirrored from git://git.apache.org/tomee.git</div>
</li>
</ul>
<a name="getSshUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSshUrl</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSshUrl()</pre>
<div class="block">Gets the SSH URL to access this repository, such as git@github.com:rails/rails.git</div>
</li>
</ul>
<a name="getHtmlUrl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHtmlUrl</h4>
<pre>public&nbsp;java.net.URL&nbsp;getHtmlUrl()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../org/kohsuke/github/GHObject.html#getHtmlUrl--">GHObject</a></code></span></div>
<div class="block">URL of this object for humans, which renders some HTML.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../org/kohsuke/github/GHObject.html#getHtmlUrl--">getHtmlUrl</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/kohsuke/github/GHObject.html" title="class in org.kohsuke.github">GHObject</a></code></dd>
</dl>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
<div class="block">Short repository name without the owner. For example 'jenkins' in case of http://github.com/jenkinsci/jenkins</div>
</li>
</ul>
<a name="getFullName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFullName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getFullName()</pre>
<div class="block">Full repository name including the owner or organization. For example 'jenkinsci/jenkins' in case of http://github.com/jenkinsci/jenkins</div>
</li>
</ul>
<a name="hasPullAccess--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPullAccess</h4>
<pre>public&nbsp;boolean&nbsp;hasPullAccess()</pre>
</li>
</ul>
<a name="hasPushAccess--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPushAccess</h4>
<pre>public&nbsp;boolean&nbsp;hasPushAccess()</pre>
</li>
</ul>
<a name="hasAdminAccess--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAdminAccess</h4>
<pre>public&nbsp;boolean&nbsp;hasAdminAccess()</pre>
</li>
</ul>
<a name="getLanguage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLanguage</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLanguage()</pre>
<div class="block">Gets the primary programming language.</div>
</li>
</ul>
<a name="getOwner--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwner</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&nbsp;getOwner()
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getIssue-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIssue</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&nbsp;getIssue(int&nbsp;id)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createIssue-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createIssue</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHIssueBuilder.html" title="class in org.kohsuke.github">GHIssueBuilder</a>&nbsp;createIssue(java.lang.String&nbsp;title)</pre>
</li>
</ul>
<a name="getIssues-org.kohsuke.github.GHIssueState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIssues</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&gt;&nbsp;getIssues(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getIssues-org.kohsuke.github.GHIssueState-org.kohsuke.github.GHMilestone-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIssues</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&gt;&nbsp;getIssues(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state,
<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&nbsp;milestone)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listIssues-org.kohsuke.github.GHIssueState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listIssues</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>&gt;&nbsp;listIssues(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</pre>
<div class="block">Lists up all the issues in this repository.</div>
</li>
</ul>
<a name="createRelease-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRelease</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHReleaseBuilder.html" title="class in org.kohsuke.github">GHReleaseBuilder</a>&nbsp;createRelease(java.lang.String&nbsp;tag)</pre>
</li>
</ul>
<a name="createRef-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRef</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>&nbsp;createRef(java.lang.String&nbsp;name,
java.lang.String&nbsp;sha)
throws java.io.IOException</pre>
<div class="block">Creates a named ref, such as tag, branch, etc.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - The name of the fully qualified reference (ie: refs/heads/master).
If it doesn't start with 'refs' and have at least two slashes, it will be rejected.</dd>
<dd><code>sha</code> - The SHA1 value to set this reference to</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getReleases--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReleases</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>&gt;&nbsp;getReleases()
throws java.io.IOException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">use <a href="../../../org/kohsuke/github/GHRepository.html#listReleases--"><code>listReleases()</code></a></span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listReleases--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listReleases</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>&gt;&nbsp;listReleases()
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listTags--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listTags</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHTag.html" title="class in org.kohsuke.github">GHTag</a>&gt;&nbsp;listTags()
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listLanguages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listLanguages</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.Long&gt;&nbsp;listLanguages()
throws java.io.IOException</pre>
<div class="block">List languages for the specified repository.
The value on the right of a language is the number of bytes of code written in that language.
{
"C": 78769,
"Python": 7769
}</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getOwnerName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwnerName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getOwnerName()</pre>
</li>
</ul>
<a name="hasIssues--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasIssues</h4>
<pre>public&nbsp;boolean&nbsp;hasIssues()</pre>
</li>
</ul>
<a name="hasWiki--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasWiki</h4>
<pre>public&nbsp;boolean&nbsp;hasWiki()</pre>
</li>
</ul>
<a name="isFork--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFork</h4>
<pre>public&nbsp;boolean&nbsp;isFork()</pre>
</li>
</ul>
<a name="getForks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForks</h4>
<pre>public&nbsp;int&nbsp;getForks()</pre>
<div class="block">Returns the number of all forks of this repository.
This not only counts direct forks, but also forks of forks, and so on.</div>
</li>
</ul>
<a name="getStargazersCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStargazersCount</h4>
<pre>public&nbsp;int&nbsp;getStargazersCount()</pre>
</li>
</ul>
<a name="isPrivate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPrivate</h4>
<pre>public&nbsp;boolean&nbsp;isPrivate()</pre>
</li>
</ul>
<a name="hasDownloads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasDownloads</h4>
<pre>public&nbsp;boolean&nbsp;hasDownloads()</pre>
</li>
</ul>
<a name="hasPages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPages</h4>
<pre>public&nbsp;boolean&nbsp;hasPages()</pre>
</li>
</ul>
<a name="getWatchers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWatchers</h4>
<pre>public&nbsp;int&nbsp;getWatchers()</pre>
</li>
</ul>
<a name="getOpenIssueCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpenIssueCount</h4>
<pre>public&nbsp;int&nbsp;getOpenIssueCount()</pre>
</li>
</ul>
<a name="getNetworkCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNetworkCount</h4>
<pre>public&nbsp;int&nbsp;getNetworkCount()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">This no longer exists in the official API documentation.
Use <a href="../../../org/kohsuke/github/GHRepository.html#getForks--"><code>getForks()</code></a></span></div>
</li>
</ul>
<a name="getSubscribersCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubscribersCount</h4>
<pre>public&nbsp;int&nbsp;getSubscribersCount()</pre>
</li>
</ul>
<a name="getPushedAt--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPushedAt</h4>
<pre>public&nbsp;java.util.Date&nbsp;getPushedAt()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>null if the repository was never pushed at.</dd>
</dl>
</li>
</ul>
<a name="getDefaultBranch--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultBranch</h4>
<pre>public&nbsp;java.lang.String&nbsp;getDefaultBranch()</pre>
<div class="block">Returns the primary branch you'll configure in the "Admin &gt; Options" config page.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This field is null until the user explicitly configures the master branch.</dd>
</dl>
</li>
</ul>
<a name="getMasterBranch--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMasterBranch</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMasterBranch()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Renamed to <a href="../../../org/kohsuke/github/GHRepository.html#getDefaultBranch--"><code>getDefaultBranch()</code></a></span></div>
</li>
</ul>
<a name="getSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>public&nbsp;int&nbsp;getSize()</pre>
</li>
</ul>
<a name="getCollaborators--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollaborators</h4>
<pre>@WithBridgeMethods(value=java.util.Set.class)
public&nbsp;<a href="../../../org/kohsuke/github/GHPersonSet.html" title="class in org.kohsuke.github">GHPersonSet</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;getCollaborators()
throws java.io.IOException</pre>
<div class="block">Gets the collaborators on this repository.
This set always appear to include the owner.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listCollaborators--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listCollaborators</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listCollaborators()
throws java.io.IOException</pre>
<div class="block">Lists up the collaborators on this repository.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Users</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getCollaboratorNames--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollaboratorNames</h4>
<pre>public&nbsp;java.util.Set&lt;java.lang.String&gt;&nbsp;getCollaboratorNames()
throws java.io.IOException</pre>
<div class="block">Gets the names of the collaborators on this repository.
This method deviates from the principle of this library but it works a lot faster than <a href="../../../org/kohsuke/github/GHRepository.html#getCollaborators--"><code>getCollaborators()</code></a>.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getTeams--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTeams</h4>
<pre>public&nbsp;java.util.Set&lt;<a href="../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>&gt;&nbsp;getTeams()
throws java.io.IOException</pre>
<div class="block">If this repository belongs to an organization, return a set of teams.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="addCollaborators-org.kohsuke.github.GHUser...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCollaborators</h4>
<pre>public&nbsp;void&nbsp;addCollaborators(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>...&nbsp;users)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="addCollaborators-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCollaborators</h4>
<pre>public&nbsp;void&nbsp;addCollaborators(java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;users)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="removeCollaborators-org.kohsuke.github.GHUser...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCollaborators</h4>
<pre>public&nbsp;void&nbsp;removeCollaborators(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>...&nbsp;users)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="removeCollaborators-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCollaborators</h4>
<pre>public&nbsp;void&nbsp;removeCollaborators(java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;users)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="setEmailServiceHook-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEmailServiceHook</h4>
<pre>public&nbsp;void&nbsp;setEmailServiceHook(java.lang.String&nbsp;address)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="enableIssueTracker-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableIssueTracker</h4>
<pre>public&nbsp;void&nbsp;enableIssueTracker(boolean&nbsp;v)
throws java.io.IOException</pre>
<div class="block">Enables or disables the issue tracker for this repository.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="enableWiki-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableWiki</h4>
<pre>public&nbsp;void&nbsp;enableWiki(boolean&nbsp;v)
throws java.io.IOException</pre>
<div class="block">Enables or disables Wiki for this repository.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="enableDownloads-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableDownloads</h4>
<pre>public&nbsp;void&nbsp;enableDownloads(boolean&nbsp;v)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="renameTo-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>renameTo</h4>
<pre>public&nbsp;void&nbsp;renameTo(java.lang.String&nbsp;name)
throws java.io.IOException</pre>
<div class="block">Rename this repository.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="setDescription-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDescription</h4>
<pre>public&nbsp;void&nbsp;setDescription(java.lang.String&nbsp;value)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="setHomepage-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHomepage</h4>
<pre>public&nbsp;void&nbsp;setHomepage(java.lang.String&nbsp;value)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="setDefaultBranch-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultBranch</h4>
<pre>public&nbsp;void&nbsp;setDefaultBranch(java.lang.String&nbsp;value)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="delete--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>public&nbsp;void&nbsp;delete()
throws java.io.IOException</pre>
<div class="block">Deletes this repository.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listForks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listForks</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;listForks()</pre>
<div class="block">Lists all the direct forks of this repository, sorted by
github api default, currently <a href="../../../org/kohsuke/github/GHRepository.ForkSort.html#NEWEST"><code>ForkSort.NEWEST</code></a>.</div>
</li>
</ul>
<a name="listForks-org.kohsuke.github.GHRepository.ForkSort-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listForks</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&gt;&nbsp;listForks(<a href="../../../org/kohsuke/github/GHRepository.ForkSort.html" title="enum in org.kohsuke.github">GHRepository.ForkSort</a>&nbsp;sort)</pre>
<div class="block">Lists all the direct forks of this repository, sorted by the given sort order.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sort</code> - the sort order. If null, defaults to github api default,
currently <a href="../../../org/kohsuke/github/GHRepository.ForkSort.html#NEWEST"><code>ForkSort.NEWEST</code></a>.</dd>
</dl>
</li>
</ul>
<a name="fork--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fork</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&nbsp;fork()
throws java.io.IOException</pre>
<div class="block">Forks this repository as your repository.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Newly forked repository that belong to you.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="forkTo-org.kohsuke.github.GHOrganization-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forkTo</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&nbsp;forkTo(<a href="../../../org/kohsuke/github/GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a>&nbsp;org)
throws java.io.IOException</pre>
<div class="block">Forks this repository into an organization.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Newly forked repository that belong to you.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getPullRequest-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPullRequest</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&nbsp;getPullRequest(int&nbsp;i)
throws java.io.IOException</pre>
<div class="block">Retrieves a specified pull request.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getPullRequests-org.kohsuke.github.GHIssueState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPullRequests</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&gt;&nbsp;getPullRequests(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)
throws java.io.IOException</pre>
<div class="block">Retrieves all the pull requests of a particular state.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../org/kohsuke/github/GHRepository.html#listPullRequests-org.kohsuke.github.GHIssueState-"><code>listPullRequests(GHIssueState)</code></a></dd>
</dl>
</li>
</ul>
<a name="listPullRequests-org.kohsuke.github.GHIssueState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listPullRequests</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&gt;&nbsp;listPullRequests(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../org/kohsuke/github/GHRepository.html#queryPullRequests--"><code>queryPullRequests()</code></a></span></div>
<div class="block">Retrieves all the pull requests of a particular state.</div>
</li>
</ul>
<a name="queryPullRequests--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queryPullRequests</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHPullRequestQueryBuilder.html" title="class in org.kohsuke.github">GHPullRequestQueryBuilder</a>&nbsp;queryPullRequests()</pre>
<div class="block">Retrieves pull requests.</div>
</li>
</ul>
<a name="createPullRequest-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPullRequest</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>&nbsp;createPullRequest(java.lang.String&nbsp;title,
java.lang.String&nbsp;head,
java.lang.String&nbsp;base,
java.lang.String&nbsp;body)
throws java.io.IOException</pre>
<div class="block">Creates a new pull request.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - Required. The title of the pull request.</dd>
<dd><code>head</code> - Required. The name of the branch where your changes are implemented.
For cross-repository pull requests in the same network,
namespace head with a user like this: username:branch.</dd>
<dd><code>base</code> - Required. The name of the branch you want your changes pulled into.
This should be an existing branch on the current repository.</dd>
<dd><code>body</code> - The contents of the pull request. This is the markdown description
of a pull request.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getHooks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHooks</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>&gt;&nbsp;getHooks()
throws java.io.IOException</pre>
<div class="block">Retrieves the currently configured hooks.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getHook-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHook</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;getHook(int&nbsp;id)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getCompare-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompare</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a>&nbsp;getCompare(java.lang.String&nbsp;id1,
java.lang.String&nbsp;id2)
throws java.io.IOException</pre>
<div class="block">Gets a comparison between 2 points in the repository. This would be similar
to calling <tt>git log id1...id2</tt> against a local repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id1</code> - an identifier for the first point to compare from, this can be a sha1 ID (for a commit, tag etc) or a direct tag name</dd>
<dd><code>id2</code> - an identifier for the second point to compare to. Can be the same as the first point.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the comparison output</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on failure communicating with GitHub</dd>
</dl>
</li>
</ul>
<a name="getCompare-org.kohsuke.github.GHCommit-org.kohsuke.github.GHCommit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompare</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a>&nbsp;getCompare(<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&nbsp;id1,
<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&nbsp;id2)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getCompare-org.kohsuke.github.GHBranch-org.kohsuke.github.GHBranch-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompare</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a>&nbsp;getCompare(<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&nbsp;id1,
<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&nbsp;id2)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getRefs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefs</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>[]&nbsp;getRefs()
throws java.io.IOException</pre>
<div class="block">Retrieves all refs for the github repository.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of GHRef elements coresponding with the refs in the remote repository.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on failure communicating with GitHub</dd>
</dl>
</li>
</ul>
<a name="getRefs-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefs</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>[]&nbsp;getRefs(java.lang.String&nbsp;refType)
throws java.io.IOException</pre>
<div class="block">Retrieves all refs of the given type for the current GitHub repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>refType</code> - the type of reg to search for e.g. <tt>tags</tt> or <tt>commits</tt></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of all refs matching the request type</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on failure communicating with GitHub, potentially due to an invalid ref type being requested</dd>
</dl>
</li>
</ul>
<a name="getRef-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRef</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>&nbsp;getRef(java.lang.String&nbsp;refName)
throws java.io.IOException</pre>
<div class="block">Retrive a ref of the given type for the current GitHub repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>refName</code> - eg: heads/branch</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>refs matching the request type</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on failure communicating with GitHub, potentially due to an
invalid ref type being requested</dd>
</dl>
</li>
</ul>
<a name="getTree-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTree</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHTree.html" title="class in org.kohsuke.github">GHTree</a>&nbsp;getTree(java.lang.String&nbsp;sha)
throws java.io.IOException</pre>
<div class="block">Retrive a tree of the given type for the current GitHub repository.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sha</code> - - sha number or branch name ex: "master"</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>refs matching the request type</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on failure communicating with GitHub, potentially due to an
invalid tree type being requested</dd>
</dl>
</li>
</ul>
<a name="getTreeRecursive-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTreeRecursive</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHTree.html" title="class in org.kohsuke.github">GHTree</a>&nbsp;getTreeRecursive(java.lang.String&nbsp;sha,
int&nbsp;recursive)
throws java.io.IOException</pre>
<div class="block">Retrieves the tree for the current GitHub repository, recursively as described in here:
https://developer.github.com/v3/git/trees/#get-a-tree-recursively</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sha</code> - - sha number or branch name ex: "master"</dd>
<dd><code>recursive</code> - use 1</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on failure communicating with GitHub, potentially due to an
invalid tree type being requested</dd>
</dl>
</li>
</ul>
<a name="getCommit-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommit</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&nbsp;getCommit(java.lang.String&nbsp;sha1)
throws java.io.IOException</pre>
<div class="block">Gets a commit object in this repository.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listCommits--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listCommits</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>&gt;&nbsp;listCommits()</pre>
<div class="block">Lists all the commits.</div>
</li>
</ul>
<a name="queryCommits--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queryCommits</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCommitQueryBuilder.html" title="class in org.kohsuke.github">GHCommitQueryBuilder</a>&nbsp;queryCommits()</pre>
<div class="block">Search commits by specifying filters through a builder pattern.</div>
</li>
</ul>
<a name="listCommitComments--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listCommitComments</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHCommitComment.html" title="class in org.kohsuke.github">GHCommitComment</a>&gt;&nbsp;listCommitComments()</pre>
<div class="block">Lists up all the commit comments in this repository.</div>
</li>
</ul>
<a name="getLicense--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLicense</h4>
<pre><a href="../../../org/kohsuke/github/Preview.html" title="annotation in org.kohsuke.github">@Preview</a>
@Deprecated
public&nbsp;<a href="../../../org/kohsuke/github/GHLicense.html" title="class in org.kohsuke.github">GHLicense</a>&nbsp;getLicense()
throws java.io.IOException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Gets the basic license details for the repository.
<p>
This is a preview item and subject to change.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>null if there's no license.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - as usual but also if you don't use the preview connector</dd>
</dl>
</li>
</ul>
<a name="getLicenseContent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLicenseContent</h4>
<pre><a href="../../../org/kohsuke/github/Preview.html" title="annotation in org.kohsuke.github">@Preview</a>
@Deprecated
public&nbsp;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&nbsp;getLicenseContent()
throws java.io.IOException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Retrieves the contents of the repository's license file - makes an additional API call
<p>
This is a preview item and subject to change.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>details regarding the license contents, or null if there's no license.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - as usual but also if you don't use the preview connector</dd>
</dl>
</li>
</ul>
<a name="listCommitStatuses-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listCommitStatuses</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a>&gt;&nbsp;listCommitStatuses(java.lang.String&nbsp;sha1)
throws java.io.IOException</pre>
<div class="block">/**
Lists all the commit statues attached to the given commit, newer ones first.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getLastCommitStatus-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCommitStatus</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a>&nbsp;getLastCommitStatus(java.lang.String&nbsp;sha1)
throws java.io.IOException</pre>
<div class="block">Gets the last status of this commit, which is what gets shown in the UI.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createCommitStatus-java.lang.String-org.kohsuke.github.GHCommitState-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCommitStatus</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a>&nbsp;createCommitStatus(java.lang.String&nbsp;sha1,
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a>&nbsp;state,
java.lang.String&nbsp;targetUrl,
java.lang.String&nbsp;description,
java.lang.String&nbsp;context)
throws java.io.IOException</pre>
<div class="block">Creates a commit status</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>targetUrl</code> - Optional parameter that points to the URL that has more details.</dd>
<dd><code>description</code> - Optional short description.</dd>
<dd><code>context</code> - Optinal commit status context.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createCommitStatus-java.lang.String-org.kohsuke.github.GHCommitState-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCommitStatus</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a>&nbsp;createCommitStatus(java.lang.String&nbsp;sha1,
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a>&nbsp;state,
java.lang.String&nbsp;targetUrl,
java.lang.String&nbsp;description)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../org/kohsuke/github/GHRepository.html#createCommitStatus-java.lang.String-org.kohsuke.github.GHCommitState-java.lang.String-java.lang.String-java.lang.String-"><code>createCommitStatus(String, GHCommitState,String,String,String)</code></a></dd>
</dl>
</li>
</ul>
<a name="listEvents--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listEvents</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHEventInfo.html" title="class in org.kohsuke.github">GHEventInfo</a>&gt;&nbsp;listEvents()
throws java.io.IOException</pre>
<div class="block">Lists repository events.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listLabels--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listLabels</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a>&gt;&nbsp;listLabels()
throws java.io.IOException</pre>
<div class="block">Lists labels in this repository.
https://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getLabel-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a>&nbsp;getLabel(java.lang.String&nbsp;name)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createLabel-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLabel</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a>&nbsp;createLabel(java.lang.String&nbsp;name,
java.lang.String&nbsp;color)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listSubscribers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listSubscribers</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listSubscribers()</pre>
<div class="block">Lists all the subscribers (aka watchers.)
https://developer.github.com/v3/activity/watching/</div>
</li>
</ul>
<a name="listStargazers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listStargazers</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>&gt;&nbsp;listStargazers()</pre>
<div class="block">Lists all the users who have starred this repo based on the old version of the API. For
additional information, like date when the repository was starred, see <a href="../../../org/kohsuke/github/GHRepository.html#listStargazers2--"><code>listStargazers2()</code></a></div>
</li>
</ul>
<a name="listStargazers2--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listStargazers2</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHStargazer.html" title="class in org.kohsuke.github">GHStargazer</a>&gt;&nbsp;listStargazers2()</pre>
<div class="block">Lists all the users who have starred this repo based on new version of the API, having extended
information like the time when the repository was starred. For compatibility with the old API
see <a href="../../../org/kohsuke/github/GHRepository.html#listStargazers--"><code>listStargazers()</code></a></div>
</li>
</ul>
<a name="createHook-java.lang.String-java.util.Map-java.util.Collection-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createHook</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;createHook(java.lang.String&nbsp;name,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;config,
java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events,
boolean&nbsp;active)
throws java.io.IOException</pre>
<div class="block">See https://api.github.com/hooks for possible names and their configuration scheme.
TODO: produce type-safe binding</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Type of the hook to be created. See https://api.github.com/hooks for possible names.</dd>
<dd><code>config</code> - The configuration hash.</dd>
<dd><code>events</code> - Can be null. Types of events to hook into.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createWebHook-java.net.URL-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWebHook</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;createWebHook(java.net.URL&nbsp;url,
java.util.Collection&lt;<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>&gt;&nbsp;events)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createWebHook-java.net.URL-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWebHook</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>&nbsp;createWebHook(java.net.URL&nbsp;url)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getPostCommitHooks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPostCommitHooks</h4>
<pre>public&nbsp;java.util.Set&lt;java.net.URL&gt;&nbsp;getPostCommitHooks()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../org/kohsuke/github/GHRepository.html#getHooks--"><code>getHooks()</code></a> and <a href="../../../org/kohsuke/github/GHRepository.html#createHook-java.lang.String-java.util.Map-java.util.Collection-boolean-"><code>createHook(String, Map, Collection, boolean)</code></a></span></div>
<div class="block">Returns a set that represents the post-commit hook URLs.
The returned set is live, and changes made to them are reflected to GitHub.</div>
</li>
</ul>
<a name="getBranches--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBranches</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&gt;&nbsp;getBranches()
throws java.io.IOException</pre>
<div class="block">Gets branches by <a href="../../../org/kohsuke/github/GHBranch.html#getName--">their names</a>.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getBranch-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBranch</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>&nbsp;getBranch(java.lang.String&nbsp;name)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getMilestones--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMilestones</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.Integer,<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&gt;&nbsp;getMilestones()
throws java.io.IOException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../org/kohsuke/github/GHRepository.html#listMilestones-org.kohsuke.github.GHIssueState-"><code>listMilestones(GHIssueState)</code></a></span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listMilestones-org.kohsuke.github.GHIssueState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listMilestones</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&gt;&nbsp;listMilestones(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a>&nbsp;state)</pre>
<div class="block">Lists up all the milestones in this repository.</div>
</li>
</ul>
<a name="getMilestone-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMilestone</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&nbsp;getMilestone(int&nbsp;number)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getFileContent-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFileContent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&nbsp;getFileContent(java.lang.String&nbsp;path)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getFileContent-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFileContent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&nbsp;getFileContent(java.lang.String&nbsp;path,
java.lang.String&nbsp;ref)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getDirectoryContent-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectoryContent</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&gt;&nbsp;getDirectoryContent(java.lang.String&nbsp;path)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getDirectoryContent-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectoryContent</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&gt;&nbsp;getDirectoryContent(java.lang.String&nbsp;path,
java.lang.String&nbsp;ref)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getReadme--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadme</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>&nbsp;getReadme()
throws java.io.IOException</pre>
<div class="block">https://developer.github.com/v3/repos/contents/#get-the-readme</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createContent-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createContent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a>&nbsp;createContent(java.lang.String&nbsp;content,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createContent-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createContent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a>&nbsp;createContent(java.lang.String&nbsp;content,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path,
java.lang.String&nbsp;branch)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createContent-byte:A-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createContent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a>&nbsp;createContent(byte[]&nbsp;contentBytes,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createContent-byte:A-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createContent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a>&nbsp;createContent(byte[]&nbsp;contentBytes,
java.lang.String&nbsp;commitMessage,
java.lang.String&nbsp;path,
java.lang.String&nbsp;branch)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="createMilestone-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMilestone</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>&nbsp;createMilestone(java.lang.String&nbsp;title,
java.lang.String&nbsp;description)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="addDeployKey-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDeployKey</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHDeployKey.html" title="class in org.kohsuke.github">GHDeployKey</a>&nbsp;addDeployKey(java.lang.String&nbsp;title,
java.lang.String&nbsp;key)
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getDeployKeys--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeployKeys</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../org/kohsuke/github/GHDeployKey.html" title="class in org.kohsuke.github">GHDeployKey</a>&gt;&nbsp;getDeployKeys()
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getSource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSource</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&nbsp;getSource()
throws java.io.IOException</pre>
<div class="block">Forked repositories have a 'source' attribute that specifies the ultimate source of the forking chain.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github"><code>GHRepository</code></a> that points to the root repository where this repository is forked
(indirectly or directly) from. Otherwise null.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../org/kohsuke/github/GHRepository.html#getParent--"><code>getParent()</code></a></dd>
</dl>
</li>
</ul>
<a name="getParent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>&nbsp;getParent()
throws java.io.IOException</pre>
<div class="block">Forked repositories have a 'parent' attribute that specifies the repository this repository
is directly forked from. If we keep traversing <a href="../../../org/kohsuke/github/GHRepository.html#getParent--"><code>getParent()</code></a> until it returns null, that
is <a href="../../../org/kohsuke/github/GHRepository.html#getSource--"><code>getSource()</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github"><code>GHRepository</code></a> that points to the repository where this repository is forked
directly from. Otherwise null.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../org/kohsuke/github/GHRepository.html#getSource--"><code>getSource()</code></a></dd>
</dl>
</li>
</ul>
<a name="subscribe-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subscribe</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHSubscription.html" title="class in org.kohsuke.github">GHSubscription</a>&nbsp;subscribe(boolean&nbsp;subscribed,
boolean&nbsp;ignored)
throws java.io.IOException</pre>
<div class="block">Subscribes to this repository to get notifications.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="getSubscription--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubscription</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHSubscription.html" title="class in org.kohsuke.github">GHSubscription</a>&nbsp;getSubscription()
throws java.io.IOException</pre>
<div class="block">Returns the current subscription.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>null if no subscription exists.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="listContributors--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listContributors</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a>&lt;<a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github">GHRepository.Contributor</a>&gt;&nbsp;listContributors()
throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="renderMarkdown-java.lang.String-org.kohsuke.github.MarkdownMode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>renderMarkdown</h4>
<pre>public&nbsp;java.io.Reader&nbsp;renderMarkdown(java.lang.String&nbsp;text,
<a href="../../../org/kohsuke/github/MarkdownMode.html" title="enum in org.kohsuke.github">MarkdownMode</a>&nbsp;mode)
throws java.io.IOException</pre>
<div class="block">Render a Markdown document.
In <a href="../../../org/kohsuke/github/MarkdownMode.html#GFM">GFM mode</a>, issue numbers and user mentions
are linked accordingly.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../org/kohsuke/github/GitHub.html#renderMarkdown-java.lang.String-"><code>GitHub.renderMarkdown(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="listNotifications--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listNotifications</h4>
<pre>public&nbsp;<a href="../../../org/kohsuke/github/GHNotificationStream.html" title="class in org.kohsuke.github">GHNotificationStream</a>&nbsp;listNotifications()</pre>
<div class="block">List all the notifications in a repository for the current user.</div>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;obj)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= 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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/GHRepository.html">Use</a></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><a href="../../../org/kohsuke/github/GHReleaseBuilder.html" title="class in org.kohsuke.github"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/kohsuke/github/GHRepository.html" target="_top">Frames</a></li>
<li><a href="GHRepository.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.kohsuke.github.GHObject">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2016. All Rights Reserved.</small></p>
</body>
</html>