Skip to content

Commit 6cb12e1

Browse files
committed
Adds method javadoc
1 parent bcf5b1e commit 6cb12e1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/main/java/org/kohsuke/github/GHRepository.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,6 +2210,16 @@ public PagedIterable<GHCheckRun> getCheckRuns(String ref) throws IOException {
22102210
return new GHCheckRunsIterable(this, request);
22112211
}
22122212

2213+
/**
2214+
* Gets check runs for given ref which validate provided parameters
2215+
*
2216+
* @param ref the Git reference
2217+
* @param params a map of parameters to filter check runs
2218+
* @return check runs for the given ref
2219+
* @throws IOException the io exception
2220+
* @see <a href="https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-specific-ref">List check runs
2221+
* for a specific ref</a>
2222+
*/
22132223
@Preview(ANTIOPE)
22142224
public PagedIterable<GHCheckRun> getCheckRuns(String ref, Map<String, Object> params) throws IOException {
22152225
GitHubRequest request = root().createRequest()

0 commit comments

Comments
 (0)