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 c36b470

Browse filesBrowse files
committed
Bow to javadoc
1 parent 2df18c1 commit c36b470
Copy full SHA for c36b470

File tree

Expand file treeCollapse file tree

169 files changed

+1639
-16
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

169 files changed

+1639
-16
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/AbstractBuilder.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import javax.annotation.CheckForNull;
88
import javax.annotation.Nonnull;
99

10-
// TODO: Auto-generated Javadoc
1110
/**
1211
* An abstract data object builder/updater.
1312
*
@@ -42,7 +41,7 @@
4241
* Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@link S}
4342
* the same as {@link R}, this builder will commit changes after each call to {@link #with(String, Object)}.
4443
*/
45-
abstract class AbstractBuilder<R, S> extends GitHubInteractiveObject {
44+
public abstract class AbstractBuilder<R, S> extends GitHubInteractiveObject {
4645

4746
@Nonnull
4847
private final Class<R> returnType;
@@ -58,9 +57,9 @@ abstract class AbstractBuilder<R, S> extends GitHubInteractiveObject {
5857

5958
// TODO: Not sure how update-in-place behavior should be controlled
6059
// However, it certainly can be controlled dynamically down to the instance level or inherited for all children of
61-
// some
60+
// some connection.
61+
6262
/** The update in place. */
63-
// connection.
6463
protected boolean updateInPlace;
6564

6665
/**

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHApp.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
*/
2121
public class GHApp extends GHObject {
2222

23+
/**
24+
* Create default GHApp instance
25+
*/
26+
public GHApp() {
27+
}
28+
2329
private GHUser owner;
2430
private String name;
2531
private String slug;

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHAppFromManifest.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
*/
99
public class GHAppFromManifest extends GHApp {
1010

11+
/**
12+
* Create default GHAppFromManifest instance
13+
*/
14+
public GHAppFromManifest() {
15+
}
16+
1117
private String clientId;
1218
private String clientSecret;
1319
private String webhookSecret;

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHAppInstallation.java
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424
* @see GHApp#getInstallationByUser(String) GHApp#getInstallationByUser(String)
2525
*/
2626
public class GHAppInstallation extends GHObject {
27+
28+
/**
29+
* Create default GHAppInstallation instance
30+
*/
31+
public GHAppInstallation() {
32+
}
33+
2734
private GHUser account;
2835

2936
@JsonProperty("access_tokens_url")

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHAppInstallationToken.java
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
* @see GHAppInstallation#createToken() GHAppInstallation#createToken()
1212
*/
1313
public class GHAppInstallationToken extends GitHubInteractiveObject {
14+
15+
/**
16+
* Create default GHAppInstallationToken instance
17+
*/
18+
public GHAppInstallationToken() {
19+
}
20+
1421
private String token;
1522

1623
/** The expires at. */

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHArtifact.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
*/
2121
public class GHArtifact extends GHObject {
2222

23+
/**
24+
* Create default GHArtifact instance
25+
*/
26+
public GHArtifact() {
27+
}
28+
2329
// Not provided by the API.
2430
@JsonIgnore
2531
private GHRepository owner;

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHAsset.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
*/
1313
public class GHAsset extends GHObject {
1414

15+
/**
16+
* Create default GHAsset instance
17+
*/
18+
public GHAsset() {
19+
}
20+
1521
/** The owner. */
1622
GHRepository owner;
1723
private String name;

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHAuthorization.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
*/
1818
public class GHAuthorization extends GHObject {
1919

20+
/**
21+
* Create default GHAuthorization instance
22+
*/
23+
public GHAuthorization() {
24+
}
25+
2026
/** The Constant USER. */
2127
public static final String USER = "user";
2228

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHBlob.java
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
* @see <a href="https://developer.github.com/v3/git/blobs/#get-a-blob">Get a blob</a>
1717
*/
1818
public class GHBlob {
19+
20+
/**
21+
* Create default GHBlob instance
22+
*/
23+
public GHBlob() {
24+
}
25+
1926
private String content, encoding, url, sha;
2027
private long size;
2128

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHBranch.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public class GHBranch extends GitHubInteractiveObject {
4848
*/
4949
public static class Commit {
5050

51+
/**
52+
* Create default Commit instance
53+
*/
54+
public Commit() {
55+
}
56+
5157
/** The sha. */
5258
String sha;
5359

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHBranchProtection.java
+84Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
"URF_UNREAD_FIELD" },
2020
justification = "JSON API")
2121
public class GHBranchProtection extends GitHubInteractiveObject {
22+
23+
/**
24+
* Create default GHBranchProtection instance
25+
*/
26+
public GHBranchProtection() {
27+
}
28+
2229
private static final String REQUIRE_SIGNATURES_URI = "/required_signatures";
2330

2431
@JsonProperty
@@ -204,6 +211,13 @@ private Requester requester() {
204211
* The type AllowDeletions.
205212
*/
206213
public static class AllowDeletions {
214+
215+
/**
216+
* Create default AllowDeletions instance
217+
*/
218+
public AllowDeletions() {
219+
}
220+
207221
@JsonProperty
208222
private boolean enabled;
209223

@@ -270,6 +284,13 @@ public Integer getAppId() {
270284
* The type AllowForcePushes.
271285
*/
272286
public static class AllowForcePushes {
287+
288+
/**
289+
* Create default AllowForcePushes instance
290+
*/
291+
public AllowForcePushes() {
292+
}
293+
273294
@JsonProperty
274295
private boolean enabled;
275296

@@ -287,6 +308,13 @@ public boolean isEnabled() {
287308
* The type AllowForkSyncing.
288309
*/
289310
public static class AllowForkSyncing {
311+
312+
/**
313+
* Create default AllowForkSyncing instance
314+
*/
315+
public AllowForkSyncing() {
316+
}
317+
290318
@JsonProperty
291319
private boolean enabled;
292320

@@ -304,6 +332,13 @@ public boolean isEnabled() {
304332
* The type BlockCreations.
305333
*/
306334
public static class BlockCreations {
335+
336+
/**
337+
* Create default BlockCreations instance
338+
*/
339+
public BlockCreations() {
340+
}
341+
307342
@JsonProperty
308343
private boolean enabled;
309344

@@ -321,6 +356,13 @@ public boolean isEnabled() {
321356
* The type EnforceAdmins.
322357
*/
323358
public static class EnforceAdmins {
359+
360+
/**
361+
* Create default EnforceAdmins instance
362+
*/
363+
public EnforceAdmins() {
364+
}
365+
324366
@JsonProperty
325367
private boolean enabled;
326368

@@ -350,6 +392,13 @@ public boolean isEnabled() {
350392
* The type LockBranch.
351393
*/
352394
public static class LockBranch {
395+
396+
/**
397+
* Create default LockBranch instance
398+
*/
399+
public LockBranch() {
400+
}
401+
353402
@JsonProperty
354403
private boolean enabled;
355404

@@ -367,6 +416,13 @@ public boolean isEnabled() {
367416
* The type RequiredConversationResolution.
368417
*/
369418
public static class RequiredConversationResolution {
419+
420+
/**
421+
* Create default RequiredConversationResolution instance
422+
*/
423+
public RequiredConversationResolution() {
424+
}
425+
370426
@JsonProperty
371427
private boolean enabled;
372428

@@ -384,6 +440,13 @@ public boolean isEnabled() {
384440
* The type RequiredLinearHistory.
385441
*/
386442
public static class RequiredLinearHistory {
443+
444+
/**
445+
* Create default RequiredLinearHistory instance
446+
*/
447+
public RequiredLinearHistory() {
448+
}
449+
387450
@JsonProperty
388451
private boolean enabled;
389452

@@ -401,6 +464,13 @@ public boolean isEnabled() {
401464
* The type RequiredReviews.
402465
*/
403466
public static class RequiredReviews {
467+
468+
/**
469+
* Create default RequiredReviews instance
470+
*/
471+
public RequiredReviews() {
472+
}
473+
404474
@JsonProperty("dismissal_restrictions")
405475
private Restrictions dismissalRestriction;
406476

@@ -504,6 +574,13 @@ public boolean isEnabled() {
504574
* The type RequiredStatusChecks.
505575
*/
506576
public static class RequiredStatusChecks {
577+
578+
/**
579+
* Create default RequiredStatusChecks instance
580+
*/
581+
public RequiredStatusChecks() {
582+
}
583+
507584
@JsonProperty
508585
private Collection<String> contexts;
509586

@@ -557,6 +634,13 @@ public boolean isRequiresBranchUpToDate() {
557634
* The type Restrictions.
558635
*/
559636
public static class Restrictions {
637+
638+
/**
639+
* Create default Restrictions instance
640+
*/
641+
public Restrictions() {
642+
}
643+
560644
@JsonProperty
561645
private Collection<GHTeam> teams;
562646

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHBranchSync.java
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
*/
88
public class GHBranchSync extends GitHubInteractiveObject {
99

10+
/**
11+
* Create default GHBranchSync instance
12+
*/
13+
public GHBranchSync() {
14+
}
15+
1016
/**
1117
* The Repository that this branch is in.
1218
*/

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCheckRun.java
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
justification = "JSON API")
2424
public class GHCheckRun extends GHObject {
2525

26+
/**
27+
* Create default GHCheckRun instance
28+
*/
29+
public GHCheckRun() {
30+
}
31+
2632
/** The owner. */
2733
@JsonProperty("repository")
2834
GHRepository owner;
@@ -312,6 +318,13 @@ public Output getOutput() {
312318
* @see <a href="https://developer.github.com/v3/checks/runs/#output-object">documentation</a>
313319
*/
314320
public static class Output {
321+
322+
/**
323+
* Create default Output instance
324+
*/
325+
public Output() {
326+
}
327+
315328
private String title;
316329
private String summary;
317330
private String text;

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCheckSuite.java
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
justification = "JSON API")
2121
public class GHCheckSuite extends GHObject {
2222

23+
/**
24+
* Create default GHCheckSuite instance
25+
*/
26+
public GHCheckSuite() {
27+
}
28+
2329
/** The owner. */
2430
@JsonProperty("repository")
2531
GHRepository owner;
@@ -205,6 +211,13 @@ public List<GHPullRequest> getPullRequests() throws IOException {
205211
* The Class HeadCommit.
206212
*/
207213
public static class HeadCommit {
214+
215+
/**
216+
* Create default HeadCommit instance
217+
*/
218+
public HeadCommit() {
219+
}
220+
208221
private String id;
209222
private String treeId;
210223
private String message;

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCodeownersError.java
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
* @author Michael Grant
99
*/
1010
public class GHCodeownersError {
11+
12+
/**
13+
* Create default GHCodeownersError instance
14+
*/
15+
public GHCodeownersError() {
16+
}
17+
1118
private int line, column;
1219

1320
private String kind, source, suggestion, message, path;

0 commit comments

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