Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 134ea6d

Browse filesBrowse files
committed
add starting page option
1 parent b304184 commit 134ea6d
Copy full SHA for 134ea6d

File tree

Expand file treeCollapse file tree

5 files changed

+21
-1
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+21
-1
lines changed

‎pom.xml

Copy file name to clipboardExpand all lines: pom.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.kohsuke</groupId>
44
<artifactId>cortexapps-github-api</artifactId>
5-
<version>1.317</version>
5+
<version>1.318</version>
66
<name>GitHub API for Java</name>
77
<url>https://github-api.kohsuke.org/</url>
88
<description>GitHub API for Java</description>

‎src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ public GHCommitQueryBuilder until(long timestamp) {
128128
return until(new Date(timestamp));
129129
}
130130

131+
public GHCommitQueryBuilder page(int page) {
132+
req.with("page", page);
133+
return this;
134+
}
135+
131136
/**
132137
* Lists up the commits with the criteria built so far.
133138
*

‎src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ public GHCommitSearchBuilder sort(Sort sort) {
238238
return this;
239239
}
240240

241+
public GHCommitSearchBuilder page(int page) {
242+
req.with("page", page);
243+
return this;
244+
}
245+
241246
/**
242247
* The enum Sort.
243248
*/

‎src/main/java/org/kohsuke/github/GHContentSearchBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHContentSearchBuilder.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ public GHContentSearchBuilder sort(GHContentSearchBuilder.Sort sort) {
182182
return this;
183183
}
184184

185+
public GHContentSearchBuilder page(int page) {
186+
req.with("page", page);
187+
return this;
188+
}
189+
185190
/**
186191
* The enum Sort.
187192
*/

‎src/main/java/org/kohsuke/github/GHIssueSearchBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHIssueSearchBuilder.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ public GHIssueSearchBuilder sort(Sort sort) {
104104
return this;
105105
}
106106

107+
public GHIssueSearchBuilder page(int page) {
108+
req.with("page", page);
109+
return this;
110+
}
111+
107112
/**
108113
* The enum Sort.
109114
*/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.