public class GitHubRelease extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
GitHubRelease(org.json.JSONObject object)
Creates a release object of a certain tag on GitHub.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getCreatedDate()
Gets the time the release was first created on GitHub.
|
@NotNull String |
getPublishedDate()
Gets the time the release was published on GitHub.
|
@NotNull List<String> |
getReleaseAssets()
Get a list of the uploaded files on this tag version.
|
@NotNull String |
getReleaseNotes()
Gets the release notes for this tag version.
|
String |
getReleaseURL()
Gets the URL of the release.
|
@NotNull String |
getTagVersion()
Gets the tag version of this release.
|
boolean |
isDraft()
Is the release a draft?
|
boolean |
isPreRelease()
Is the release a pre-release?
|
String |
toString() |
protected GitHubRelease(org.json.JSONObject object)
object - The JSON object of the release.@NotNull public @NotNull String getTagVersion()
@NotNull public @NotNull String getReleaseNotes()
@NotNull public @NotNull String getPublishedDate()
@NotNull public @NotNull String getCreatedDate()
@NotNull public @NotNull List<String> getReleaseAssets()
public boolean isDraft()
public boolean isPreRelease()
public String getReleaseURL()
Copyright © 2023. All rights reserved.