mirror of
https://github.com/jlengrand/github-api.git
synced 2026-05-09 00:11:24 +00:00
3318 lines
220 KiB
HTML
3318 lines
220 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_144) on Wed Nov 07 07:47:54 PST 2018 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>GHRepository (GitHub API for Java 1.95 API)</title>
|
|
<meta name="date" content="2018-11-07">
|
|
<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.95 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":42,"i9":42,"i10":42,"i11":42,"i12":10,"i13":42,"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":42,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":42,"i66":42,"i67":42,"i68":10,"i69":42,"i70":10,"i71":10,"i72":42,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":42,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":42,"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":42,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"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,"i130":10,"i131":10,"i132":42,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":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/GHReleaseUpdater.html" title="class in org.kohsuke.github"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github"><span class="typeNameLink">Next 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 Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#fields.inherited.from.class.org.kohsuke.github.GHObject">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></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"> </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 </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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static class </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 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#responseHeaderFields">responseHeaderFields</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"> </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> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> users)</code> </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>... users)</code> </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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHBlobBuilder.html" title="class in org.kohsuke.github">GHBlobBuilder</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createBlob--">createBlob</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHCommitBuilder.html" title="class in org.kohsuke.github">GHCommitBuilder</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createCommit--">createCommit</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i5" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1,
|
|
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a> state,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetUrl,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description)</code> </td>
|
|
</tr>
|
|
<tr id="i6" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1,
|
|
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a> state,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetUrl,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> context)</code>
|
|
<div class="block">Creates a commit status</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHContentBuilder.html" title="class in org.kohsuke.github">GHContentBuilder</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createContent--">createContent</a></span>()</code>
|
|
<div class="block">Creates a new content, or update an existing content.</div>
|
|
</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-byte:A-java.lang.String-java.lang.String-">createContent</a></span>(byte[] contentBytes,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" 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-java.lang.String-">createContent</a></span>(byte[] contentBytes,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> branch)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" 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-">createContent</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" 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-java.lang.String-">createContent</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> branch)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref)</code> </td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<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 deploymentId,
|
|
<a href="../../../org/kohsuke/github/GHDeploymentState.html" title="enum in org.kohsuke.github">GHDeploymentState</a> ghDeploymentState)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">Use <code>getDeployment(deploymentId).createStatus(ghDeploymentState)</code></span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" 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#createHook-java.lang.String-java.util.Map-java.util.Collection-boolean-">createHook</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> config,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>> events,
|
|
boolean active)</code>
|
|
<div class="block">See https://api.github.com/hooks for possible names and their configuration scheme.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title)</code> </td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> color)</code> </td>
|
|
</tr>
|
|
<tr id="i17" 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#createMilestone-java.lang.String-java.lang.String-">createMilestone</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description)</code> </td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> head,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> base,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> body)</code>
|
|
<div class="block">Creates a new pull request.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" 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#createRef-java.lang.String-java.lang.String-">createRef</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha)</code>
|
|
<div class="block">Creates a named ref, such as tag, branch, etc.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tag)</code> </td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHTreeBuilder.html" title="class in org.kohsuke.github">GHTreeBuilder</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#createTree--">createTree</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i22" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> url)</code> </td>
|
|
</tr>
|
|
<tr id="i23" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> url,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>> events)</code> </td>
|
|
</tr>
|
|
<tr id="i24" 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="i25" 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 v)</code> </td>
|
|
</tr>
|
|
<tr id="i26" 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 v)</code>
|
|
<div class="block">Enables or disables the issue tracker for this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" 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 v)</code>
|
|
<div class="block">Enables or disables Wiki for this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td>
|
|
</tr>
|
|
<tr id="i29" 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="i30" 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> org)</code>
|
|
<div class="block">Forks this repository into an organization.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHBlob.html" title="class in org.kohsuke.github">GHBlob</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getBlob-java.lang.String-">getBlob</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> blobSha)</code>
|
|
<div class="block">Obtains the metadata & the content of a blob.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> </td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../org/kohsuke/github/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#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="i34" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRepositoryCloneTraffic.html" title="class in org.kohsuke.github">GHRepositoryCloneTraffic</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getCloneTraffic--">getCloneTraffic</a></span>()</code>
|
|
<div class="block"><a href="https://developer.github.com/v3/repos/traffic/#clones">https://developer.github.com/v3/repos/traffic/#clones</a></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></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="i36" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPersonSet.html" title="class in org.kohsuke.github">GHPersonSet</a><<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#getCollaborators--">getCollaborators</a></span>()</code>
|
|
<div class="block">Gets the collaborators on this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1)</code>
|
|
<div class="block">Gets a commit object in this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" 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> id1,
|
|
<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a> id2)</code> </td>
|
|
</tr>
|
|
<tr id="i39" 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> id1,
|
|
<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a> id2)</code> </td>
|
|
</tr>
|
|
<tr id="i40" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id1,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id2)</code>
|
|
<div class="block">Gets a comparison between 2 points in the repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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 > Options" config page.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#getDeployKeys--">getDeployKeys</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github">GHDeployment</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDeployment-long-">getDeployment</a></span>(long id)</code>
|
|
<div class="block">Obtains a single <a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github"><code>GHDeployment</code></a> by its ID.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHDeploymentStatus.html" title="class in org.kohsuke.github">GHDeploymentStatus</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDeploymentStatuses-int-">getDeploymentStatuses</a></span>(int id)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">Use <code>getDeployment(id).listStatuses()</code></span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getDescription--">getDescription</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#getDirectoryContent-java.lang.String-">getDirectoryContent</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> </td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#getDirectoryContent-java.lang.String-java.lang.String-">getDirectoryContent</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref)</code> </td>
|
|
</tr>
|
|
<tr id="i48" 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-">getFileContent</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> </td>
|
|
</tr>
|
|
<tr id="i49" 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-java.lang.String-">getFileContent</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref)</code> </td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<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="i51" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i52" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i53" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getHomepage--">getHomepage</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i54" 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#getHook-int-">getHook</a></span>(int id)</code> </td>
|
|
</tr>
|
|
<tr id="i55" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#getHooks--">getHooks</a></span>()</code>
|
|
<div class="block">Retrieves the currently configured hooks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i56" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a></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="i57" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getHttpTransportUrl--">getHttpTransportUrl</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="i58" 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 id)</code> </td>
|
|
</tr>
|
|
<tr id="i59" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#getIssues-org.kohsuke.github.GHIssueState-">getIssues</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)</code> </td>
|
|
</tr>
|
|
<tr id="i60" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#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> state,
|
|
<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a> milestone)</code> </td>
|
|
</tr>
|
|
<tr id="i61" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> </td>
|
|
</tr>
|
|
<tr id="i62" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i63" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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="i64" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getLatestRelease--">getLatestRelease</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i65" class="rowColor">
|
|
<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> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i66" 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#getLicenseContent--">getLicenseContent</a></span>()</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i67" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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>
|
|
<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="i68" 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#getMilestone-int-">getMilestone</a></span>(int number)</code> </td>
|
|
</tr>
|
|
<tr id="i69" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<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#getMilestones--">getMilestones</a></span>()</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<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="i70" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i71" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i72" class="altColor">
|
|
<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>
|
|
<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="i73" class="rowColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i74" class="altColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i75" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getOwnerName--">getOwnerName</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i76" 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#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="i77" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPermissionType.html" title="enum in org.kohsuke.github">GHPermissionType</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPermission-org.kohsuke.github.GHUser-">getPermission</a></span>(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a> u)</code>
|
|
<div class="block">Obtain permission for a given user in this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i78" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHPermissionType.html" title="enum in org.kohsuke.github">GHPermissionType</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPermission-java.lang.String-">getPermission</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user)</code>
|
|
<div class="block">Obtain permission for a given user in this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i79" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>></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>
|
|
<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="i80" class="altColor">
|
|
<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 i)</code>
|
|
<div class="block">Retrieves a specified pull request.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i81" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<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#getPullRequests-org.kohsuke.github.GHIssueState-">getPullRequests</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)</code>
|
|
<div class="block">Retrieves all the pull requests of a particular state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i82" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getPushedAt--">getPushedAt</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i83" 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#getReadme--">getReadme</a></span>()</code>
|
|
<div class="block">https://developer.github.com/v3/repos/contents/#get-the-readme</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i84" 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#getRef-java.lang.String-">getRef</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refName)</code>
|
|
<div class="block">Retrive a ref of the given type for the current GitHub repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i85" 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--">getRefs</a></span>()</code>
|
|
<div class="block">Retrieves all refs for the github repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i86" 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-java.lang.String-">getRefs</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refType)</code>
|
|
<div class="block">Retrieves all refs of the given type for the current GitHub repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i87" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getRelease-long-">getRelease</a></span>(long id)</code> </td>
|
|
</tr>
|
|
<tr id="i88" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getReleaseByTagName-java.lang.String-">getReleaseByTagName</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tag)</code> </td>
|
|
</tr>
|
|
<tr id="i89" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>></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>
|
|
<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="i90" class="altColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i91" 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#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="i92" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i93" class="rowColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i94" class="altColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i95" 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#getSubscription--">getSubscription</a></span>()</code>
|
|
<div class="block">Returns the current subscription.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i96" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></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="i97" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHTagObject.html" title="class in org.kohsuke.github">GHTagObject</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getTagObject-java.lang.String-">getTagObject</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha)</code>
|
|
<div class="block">Returns the <strong>annotated</strong> tag object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i98" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>></code></td>
|
|
<td class="colLast"><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="i99" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha)</code>
|
|
<div class="block">Retrive a tree of the given type for the current GitHub repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i100" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha,
|
|
int 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="i101" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/GHRepositoryViewTraffic.html" title="class in org.kohsuke.github">GHRepositoryViewTraffic</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#getViewTraffic--">getViewTraffic</a></span>()</code>
|
|
<div class="block"><a href="https://developer.github.com/v3/repos/traffic/#views">https://developer.github.com/v3/repos/traffic/#views</a></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i102" class="altColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i103" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#gitHttpTransportUrl--">gitHttpTransportUrl</a></span>()</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">Typo of <a href="../../../org/kohsuke/github/GHRepository.html#getHttpTransportUrl--"><code>getHttpTransportUrl()</code></a></span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i104" class="altColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i105" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#hasAssignee-org.kohsuke.github.GHUser-">hasAssignee</a></span>(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a> u)</code>
|
|
<div class="block">Checks if the given user is an assignee for this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i106" 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> </td>
|
|
</tr>
|
|
<tr id="i107" 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> </td>
|
|
</tr>
|
|
<tr id="i108" 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> </td>
|
|
</tr>
|
|
<tr id="i109" 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> </td>
|
|
</tr>
|
|
<tr id="i110" 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> </td>
|
|
</tr>
|
|
<tr id="i111" 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> </td>
|
|
</tr>
|
|
<tr id="i112" 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> </td>
|
|
</tr>
|
|
<tr id="i113" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#isArchived--">isArchived</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i114" class="altColor">
|
|
<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> </td>
|
|
</tr>
|
|
<tr id="i115" class="rowColor">
|
|
<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> </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><<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#listAssignees--">listAssignees</a></span>()</code>
|
|
<div class="block">Lists all <a href="https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/">the available assignees</a>
|
|
to which issues may be assigned.</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><<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#listCollaborators--">listCollaborators</a></span>()</code>
|
|
<div class="block">Lists up the collaborators on this repository.</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><<a href="../../../org/kohsuke/github/GHCommitComment.html" title="class in org.kohsuke.github">GHCommitComment</a>></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="i119" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<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#listCommits--">listCommits</a></span>()</code>
|
|
<div class="block">Lists all the commits.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i120" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#listCommitStatuses-java.lang.String-">listCommitStatuses</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1)</code>
|
|
<div class="block">/**
|
|
Lists all the commit statues attached to the given commit, newer ones first.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i121" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github">GHRepository.Contributor</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listContributors--">listContributors</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i122" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github">GHDeployment</a>></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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> task,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> environment)</code> </td>
|
|
</tr>
|
|
<tr id="i123" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHEventInfo.html" title="class in org.kohsuke.github">GHEventInfo</a>></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="i124" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#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="i125" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<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#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> sort)</code>
|
|
<div class="block">Lists all the direct forks of this repository, sorted by the given sort order.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i126" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHInvitation.html" title="class in org.kohsuke.github">GHInvitation</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listInvitations--">listInvitations</a></span>()</code>
|
|
<div class="block">Lists all the invitations.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i127" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<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#listIssues-org.kohsuke.github.GHIssueState-">listIssues</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)</code>
|
|
<div class="block">Lists up all the issues in this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i128" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#listLabels--">listLabels</a></span>()</code>
|
|
<div class="block">Lists labels in this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i129" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></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="i130" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#listMilestones-org.kohsuke.github.GHIssueState-">listMilestones</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)</code>
|
|
<div class="block">Lists up all the milestones in this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i131" class="rowColor">
|
|
<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="i132" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#listPullRequests-org.kohsuke.github.GHIssueState-">listPullRequests</a></span>(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<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="i133" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<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#listRefs--">listRefs</a></span>()</code>
|
|
<div class="block">Retrieves all refs for the github repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i134" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#listRefs-java.lang.String-">listRefs</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refType)</code>
|
|
<div class="block">Retrieves all refs of the given type for the current GitHub repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i135" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listReleases--">listReleases</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i136" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#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="i137" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHStargazer.html" title="class in org.kohsuke.github">GHStargazer</a>></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="i138" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/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#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="i139" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHTag.html" title="class in org.kohsuke.github">GHTag</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#listTags--">listTags</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i140" class="altColor">
|
|
<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="i141" class="rowColor">
|
|
<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="i142" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/kohsuke/github/GHRepository.html#readBlob-java.lang.String-">readBlob</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> blobSha)</code>
|
|
<div class="block">Reads the content of a blob as a stream for better efficiency.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i143" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> users)</code> </td>
|
|
</tr>
|
|
<tr id="i144" 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>... users)</code> </td>
|
|
</tr>
|
|
<tr id="i145" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
|
<div class="block">Rename this repository.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i146" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a></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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> text,
|
|
<a href="../../../org/kohsuke/github/MarkdownMode.html" title="enum in org.kohsuke.github">MarkdownMode</a> mode)</code>
|
|
<div class="block">Render a Markdown document.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i147" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> </td>
|
|
</tr>
|
|
<tr id="i148" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> </td>
|
|
</tr>
|
|
<tr id="i149" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> address)</code> </td>
|
|
</tr>
|
|
<tr id="i150" 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>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> </td>
|
|
</tr>
|
|
<tr id="i151" 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 subscribed,
|
|
boolean 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 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#getResponseHeaderFields--">getResponseHeaderFields</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 java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></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 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 <a href="../../../org/kohsuke/github/GHDeploymentBuilder.html" title="class in org.kohsuke.github">GHDeploymentBuilder</a> createDeployment(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getDeploymentStatuses-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDeploymentStatuses</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHDeploymentStatus.html" title="class in org.kohsuke.github">GHDeploymentStatus</a>> getDeploymentStatuses(int id)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <code>getDeployment(id).listStatuses()</code></span></div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github">GHDeployment</a>> listDeployments(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> task,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> environment)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getDeployment-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDeployment</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github">GHDeployment</a> getDeployment(long id)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Obtains a single <a href="../../../org/kohsuke/github/GHDeployment.html" title="class in org.kohsuke.github"><code>GHDeployment</code></a> by its ID.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createDeployStatus-int-org.kohsuke.github.GHDeploymentState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createDeployStatus</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHDeploymentStatusBuilder.html" title="class in org.kohsuke.github">GHDeploymentStatusBuilder</a> createDeployStatus(int deploymentId,
|
|
<a href="../../../org/kohsuke/github/GHDeploymentState.html" title="enum in org.kohsuke.github">GHDeploymentState</a> ghDeploymentState)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <code>getDeployment(deploymentId).createStatus(ghDeploymentState)</code></span></div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDescription--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDescription</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDescription()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getHomepage--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHomepage</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getHomepage()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getGitTransportUrl--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGitTransportUrl</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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="getHttpTransportUrl--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHttpTransportUrl</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getHttpTransportUrl()</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="gitHttpTransportUrl--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gitHttpTransportUrl</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> gitHttpTransportUrl()</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Typo of <a href="../../../org/kohsuke/github/GHRepository.html#getHttpTransportUrl--"><code>getHttpTransportUrl()</code></a></span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="getSvnUrl--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSvnUrl</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> getHtmlUrl()</pre>
|
|
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 boolean hasPullAccess()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hasPushAccess--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasPushAccess</h4>
|
|
<pre>public boolean hasPushAccess()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hasAdminAccess--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasAdminAccess</h4>
|
|
<pre>public boolean hasAdminAccess()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getLanguage--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLanguage</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a> getOwner()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getIssue-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getIssue</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a> getIssue(int id)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createIssue-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createIssue</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHIssueBuilder.html" title="class in org.kohsuke.github">GHIssueBuilder</a> createIssue(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getIssues-org.kohsuke.github.GHIssueState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getIssues</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>> getIssues(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>> getIssues(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state,
|
|
<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a> milestone)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listIssues-org.kohsuke.github.GHIssueState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listIssues</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHIssue.html" title="class in org.kohsuke.github">GHIssue</a>> listIssues(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> 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 <a href="../../../org/kohsuke/github/GHReleaseBuilder.html" title="class in org.kohsuke.github">GHReleaseBuilder</a> createRelease(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a> createRef(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getReleases--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getReleases</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>> getReleases()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getRelease-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRelease</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a> getRelease(long id)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getReleaseByTagName-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getReleaseByTagName</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a> getReleaseByTagName(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tag)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLatestRelease--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLatestRelease</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a> getLatestRelease()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listReleases--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listReleases</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRelease.html" title="class in org.kohsuke.github">GHRelease</a>> listReleases()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listTags--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listTags</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHTag.html" title="class in org.kohsuke.github">GHTag</a>> listTags()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listLanguages--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listLanguages</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> listLanguages()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOwnerName--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOwnerName</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getOwnerName()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hasIssues--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasIssues</h4>
|
|
<pre>public boolean hasIssues()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hasWiki--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasWiki</h4>
|
|
<pre>public boolean hasWiki()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isFork--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isFork</h4>
|
|
<pre>public boolean isFork()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isArchived--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isArchived</h4>
|
|
<pre>public boolean isArchived()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getForks--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getForks</h4>
|
|
<pre>public int 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 int getStargazersCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isPrivate--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPrivate</h4>
|
|
<pre>public boolean isPrivate()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hasDownloads--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasDownloads</h4>
|
|
<pre>public boolean hasDownloads()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hasPages--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasPages</h4>
|
|
<pre>public boolean hasPages()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getWatchers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWatchers</h4>
|
|
<pre>public int getWatchers()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getOpenIssueCount--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOpenIssueCount</h4>
|
|
<pre>public int getOpenIssueCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getNetworkCount--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNetworkCount</h4>
|
|
<pre>public int getNetworkCount()</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 int getSubscribersCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPushedAt--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPushedAt</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> 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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDefaultBranch()</pre>
|
|
<div class="block">Returns the primary branch you'll configure in the "Admin > 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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getMasterBranch()</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 int getSize()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getCollaborators--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCollaborators</h4>
|
|
<pre>@WithBridgeMethods(value=<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">java.util.Set.class</a>)
|
|
public <a href="../../../org/kohsuke/github/GHPersonSet.html" title="class in org.kohsuke.github">GHPersonSet</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> getCollaborators()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listCollaborators--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listCollaborators</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> listCollaborators()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listAssignees--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listAssignees</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> listAssignees()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Lists all <a href="https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/">the available assignees</a>
|
|
to which issues may be assigned.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hasAssignee-org.kohsuke.github.GHUser-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasAssignee</h4>
|
|
<pre>public boolean hasAssignee(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a> u)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Checks if the given user is an assignee for this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCollaboratorNames--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCollaboratorNames</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getCollaboratorNames()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPermission-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPermission</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHPermissionType.html" title="enum in org.kohsuke.github">GHPermissionType</a> getPermission(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Obtain permission for a given user in this repository.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>user</code> - a <a href="../../../org/kohsuke/github/GHPerson.html#getLogin--"><code>GHPerson.getLogin()</code></a></dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - under some conditions (e.g., private repo you can see but are not an admin of); treat as unknown</dd>
|
|
<dd><code><a href="../../../org/kohsuke/github/HttpException.html" title="class in org.kohsuke.github">HttpException</a></code> - with a 403 under other conditions (e.g., public repo you have no special rights to); treat as unknown</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPermission-org.kohsuke.github.GHUser-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPermission</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHPermissionType.html" title="enum in org.kohsuke.github">GHPermissionType</a> getPermission(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a> u)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Obtain permission for a given user in this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - under some conditions (e.g., private repo you can see but are not an admin of); treat as unknown</dd>
|
|
<dd><code><a href="../../../org/kohsuke/github/HttpException.html" title="class in org.kohsuke.github">HttpException</a></code> - with a 403 under other conditions (e.g., public repo you have no special rights to); treat as unknown</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTeams--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTeams</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../org/kohsuke/github/GHTeam.html" title="class in org.kohsuke.github">GHTeam</a>> getTeams()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCollaborators-org.kohsuke.github.GHUser...-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCollaborators</h4>
|
|
<pre>public void addCollaborators(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>... users)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCollaborators-java.util.Collection-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCollaborators</h4>
|
|
<pre>public void addCollaborators(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> users)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCollaborators-org.kohsuke.github.GHUser...-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCollaborators</h4>
|
|
<pre>public void removeCollaborators(<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>... users)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCollaborators-java.util.Collection-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCollaborators</h4>
|
|
<pre>public void removeCollaborators(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> users)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setEmailServiceHook-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEmailServiceHook</h4>
|
|
<pre>public void setEmailServiceHook(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> address)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="enableIssueTracker-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableIssueTracker</h4>
|
|
<pre>public void enableIssueTracker(boolean v)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Enables or disables the issue tracker for this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="enableWiki-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableWiki</h4>
|
|
<pre>public void enableWiki(boolean v)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Enables or disables Wiki for this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="enableDownloads-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableDownloads</h4>
|
|
<pre>public void enableDownloads(boolean v)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="renameTo-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>renameTo</h4>
|
|
<pre>public void renameTo(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Rename this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDescription-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDescription</h4>
|
|
<pre>public void setDescription(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setHomepage-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setHomepage</h4>
|
|
<pre>public void setHomepage(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDefaultBranch-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDefaultBranch</h4>
|
|
<pre>public void setDefaultBranch(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="delete--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>delete</h4>
|
|
<pre>public void delete()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Deletes this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listForks--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listForks</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>> 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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a>> listForks(<a href="../../../org/kohsuke/github/GHRepository.ForkSort.html" title="enum in org.kohsuke.github">GHRepository.ForkSort</a> 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 <a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a> fork()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="forkTo-org.kohsuke.github.GHOrganization-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>forkTo</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a> forkTo(<a href="../../../org/kohsuke/github/GHOrganization.html" title="class in org.kohsuke.github">GHOrganization</a> org)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPullRequest-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPullRequest</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a> getPullRequest(int i)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Retrieves a specified pull request.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPullRequests-org.kohsuke.github.GHIssueState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPullRequests</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>> getPullRequests(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Retrieves all the pull requests of a particular state.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a>> listPullRequests(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> state)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 <a href="../../../org/kohsuke/github/GHPullRequestQueryBuilder.html" title="class in org.kohsuke.github">GHPullRequestQueryBuilder</a> 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 <a href="../../../org/kohsuke/github/GHPullRequest.html" title="class in org.kohsuke.github">GHPullRequest</a> createPullRequest(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> head,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> base,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> body)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getHooks--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHooks</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a>> getHooks()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Retrieves the currently configured hooks.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getHook-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHook</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a> getHook(int id)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a> getCompare(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id1,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id2)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a> getCompare(<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a> id1,
|
|
<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a> id2)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHCompare.html" title="class in org.kohsuke.github">GHCompare</a> getCompare(<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a> id1,
|
|
<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a> id2)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getRefs--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRefs</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>[] getRefs()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on failure communicating with GitHub</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listRefs--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listRefs</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>> listRefs()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Retrieves all refs for the github repository.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>paged iterable of all refs</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on failure communicating with GitHub, potentially due to an invalid ref type being requested</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getRefs-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRefs</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>[] getRefs(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refType)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on failure communicating with GitHub, potentially due to an invalid ref type being requested</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listRefs-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listRefs</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a>> listRefs(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refType)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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>paged iterable of all refs of the specified type</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHRef.html" title="class in org.kohsuke.github">GHRef</a> getRef(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refName)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on failure communicating with GitHub, potentially due to an
|
|
invalid ref type being requested</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTagObject-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTagObject</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHTagObject.html" title="class in org.kohsuke.github">GHTagObject</a> getTagObject(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Returns the <strong>annotated</strong> tag object. Only valid if the <a href="../../../org/kohsuke/github/GHRef.html#getObject--"><code>GHRef.getObject()</code></a> has a
|
|
<a href="../../../org/kohsuke/github/GHRef.GHObject.html#getType--"><code>GHRef.GHObject.getType()</code></a> of <code>tag</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>sha</code> - the sha of the tag object</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the annotated tag object</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTree-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTree</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHTree.html" title="class in org.kohsuke.github">GHTree</a> getTree(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on failure communicating with GitHub, potentially due to an
|
|
invalid tree type being requested</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createTree--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createTree</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHTreeBuilder.html" title="class in org.kohsuke.github">GHTreeBuilder</a> createTree()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTreeRecursive-java.lang.String-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTreeRecursive</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHTree.html" title="class in org.kohsuke.github">GHTree</a> getTreeRecursive(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha,
|
|
int recursive)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on failure communicating with GitHub, potentially due to an
|
|
invalid tree type being requested</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBlob-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlob</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHBlob.html" title="class in org.kohsuke.github">GHBlob</a> getBlob(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> blobSha)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Obtains the metadata & the content of a blob.
|
|
|
|
<p>
|
|
This method retrieves the whole content in memory, so beware when you are dealing with large BLOB.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="https://developer.github.com/v3/git/blobs/#get-a-blob">Get a blob</a>,
|
|
<a href="../../../org/kohsuke/github/GHRepository.html#readBlob-java.lang.String-"><code>readBlob(String)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createBlob--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createBlob</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHBlobBuilder.html" title="class in org.kohsuke.github">GHBlobBuilder</a> createBlob()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="readBlob-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>readBlob</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> readBlob(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> blobSha)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Reads the content of a blob as a stream for better efficiency.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="https://developer.github.com/v3/git/blobs/#get-a-blob">Get a blob</a>,
|
|
<a href="../../../org/kohsuke/github/GHRepository.html#getBlob-java.lang.String-"><code>getBlob(String)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCommit-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCommit</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a> getCommit(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Gets a commit object in this repository.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createCommit--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createCommit</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHCommitBuilder.html" title="class in org.kohsuke.github">GHCommitBuilder</a> createCommit()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="listCommits--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listCommits</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHCommit.html" title="class in org.kohsuke.github">GHCommit</a>> 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 <a href="../../../org/kohsuke/github/GHCommitQueryBuilder.html" title="class in org.kohsuke.github">GHCommitQueryBuilder</a> 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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHCommitComment.html" title="class in org.kohsuke.github">GHCommitComment</a>> 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>
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../org/kohsuke/github/GHLicense.html" title="class in org.kohsuke.github">GHLicense</a> getLicense()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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>
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a> getLicenseContent()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a>> listCommitStatuses(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLastCommitStatus-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLastCommitStatus</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a> getLastCommitStatus(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a> createCommitStatus(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1,
|
|
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a> state,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetUrl,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> context)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHCommitStatus.html" title="class in org.kohsuke.github">GHCommitStatus</a> createCommitStatus(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sha1,
|
|
<a href="../../../org/kohsuke/github/GHCommitState.html" title="enum in org.kohsuke.github">GHCommitState</a> state,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetUrl,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHEventInfo.html" title="class in org.kohsuke.github">GHEventInfo</a>> listEvents()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Lists repository events.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listLabels--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listLabels</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a>> listLabels()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLabel-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLabel</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a> getLabel(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHLabel.html" title="class in org.kohsuke.github">GHLabel</a> createLabel(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> color)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listInvitations--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listInvitations</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHInvitation.html" title="class in org.kohsuke.github">GHInvitation</a>> listInvitations()</pre>
|
|
<div class="block">Lists all the invitations.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="listSubscribers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listSubscribers</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> 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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHUser.html" title="class in org.kohsuke.github">GHUser</a>> 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 <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHStargazer.html" title="class in org.kohsuke.github">GHStargazer</a>> 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 <a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a> createHook(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> config,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>> events,
|
|
boolean active)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a> createWebHook(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> url,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../org/kohsuke/github/GHEvent.html" title="enum in org.kohsuke.github">GHEvent</a>> events)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createWebHook-java.net.URL-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createWebHook</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHHook.html" title="class in org.kohsuke.github">GHHook</a> createWebHook(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> url)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPostCommitHooks--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPostCommitHooks</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>> getPostCommitHooks()</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a>> getBranches()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBranch-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBranch</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHBranch.html" title="class in org.kohsuke.github">GHBranch</a> getBranch(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMilestones--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMilestones</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>> getMilestones()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listMilestones-org.kohsuke.github.GHIssueState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listMilestones</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a>> listMilestones(<a href="../../../org/kohsuke/github/GHIssueState.html" title="enum in org.kohsuke.github">GHIssueState</a> 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 <a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a> getMilestone(int number)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getFileContent-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFileContent</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a> getFileContent(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a> getFileContent(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDirectoryContent-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDirectoryContent</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>> getDirectoryContent(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a>> getDirectoryContent(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ref)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getReadme--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getReadme</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHContent.html" title="class in org.kohsuke.github">GHContent</a> getReadme()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createContent--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createContent</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHContentBuilder.html" title="class in org.kohsuke.github">GHContentBuilder</a> createContent()</pre>
|
|
<div class="block">Creates a new content, or update an existing content.</div>
|
|
</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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a> createContent(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
<div class="block">Use <a href="../../../org/kohsuke/github/GHRepository.html#createContent--"><code>createContent()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a> createContent(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> branch)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
<div class="block">Use <a href="../../../org/kohsuke/github/GHRepository.html#createContent--"><code>createContent()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a> createContent(byte[] contentBytes,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
<div class="block">Use <a href="../../../org/kohsuke/github/GHRepository.html#createContent--"><code>createContent()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../org/kohsuke/github/GHContentUpdateResponse.html" title="class in org.kohsuke.github">GHContentUpdateResponse</a> createContent(byte[] contentBytes,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commitMessage,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> branch)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
<div class="block">Use <a href="../../../org/kohsuke/github/GHRepository.html#createContent--"><code>createContent()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHMilestone.html" title="class in org.kohsuke.github">GHMilestone</a> createMilestone(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHDeployKey.html" title="class in org.kohsuke.github">GHDeployKey</a> addDeployKey(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title,
|
|
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDeployKeys--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDeployKeys</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/kohsuke/github/GHDeployKey.html" title="class in org.kohsuke.github">GHDeployKey</a>> getDeployKeys()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSource--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSource</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a> getSource()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHRepository.html" title="class in org.kohsuke.github">GHRepository</a> getParent()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHSubscription.html" title="class in org.kohsuke.github">GHSubscription</a> subscribe(boolean subscribed,
|
|
boolean ignored)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Subscribes to this repository to get notifications.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSubscription--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSubscription</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHSubscription.html" title="class in org.kohsuke.github">GHSubscription</a> getSubscription()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listContributors--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listContributors</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/PagedIterable.html" title="class in org.kohsuke.github">PagedIterable</a><<a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github">GHRepository.Contributor</a>> listContributors()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> renderMarkdown(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> text,
|
|
<a href="../../../org/kohsuke/github/MarkdownMode.html" title="enum in org.kohsuke.github">MarkdownMode</a> mode)
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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 <a href="../../../org/kohsuke/github/GHNotificationStream.html" title="class in org.kohsuke.github">GHNotificationStream</a> listNotifications()</pre>
|
|
<div class="block">List all the notifications in a repository for the current user.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getViewTraffic--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getViewTraffic</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRepositoryViewTraffic.html" title="class in org.kohsuke.github">GHRepositoryViewTraffic</a> getViewTraffic()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><a href="https://developer.github.com/v3/repos/traffic/#views">https://developer.github.com/v3/repos/traffic/#views</a></div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCloneTraffic--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCloneTraffic</h4>
|
|
<pre>public <a href="../../../org/kohsuke/github/GHRepositoryCloneTraffic.html" title="class in org.kohsuke.github">GHRepositoryCloneTraffic</a> getCloneTraffic()
|
|
throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block"><a href="https://developer.github.com/v3/repos/traffic/#clones">https://developer.github.com/v3/repos/traffic/#clones</a></div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hashCode--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hashCode</h4>
|
|
<pre>public int hashCode()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="equals-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>equals</h4>
|
|
<pre>public boolean equals(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></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/GHReleaseUpdater.html" title="class in org.kohsuke.github"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../org/kohsuke/github/GHRepository.Contributor.html" title="class in org.kohsuke.github"><span class="typeNameLink">Next 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 Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#fields.inherited.from.class.org.kohsuke.github.GHObject">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </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 © 2018. All rights reserved.</small></p>
|
|
</body>
|
|
</html>
|