Class GitHubPullRequestReviewCause
java.lang.Object
hudson.model.Cause
com.adobe.jenkins.github_pr_comment_build.GitHubPullRequestReviewCause
- All Implemented Interfaces:
Serializable
Created by Micky Loo on 05/02/2019.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubPullRequestReviewCause
(String reviewAuthor, String pullRequestUrl) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the URL for the GitHub pull request for this cause.Retrieves the author of the GitHub review for this cause.
-
Constructor Details
-
GitHubPullRequestReviewCause
Constructor.- Parameters:
reviewAuthor
- the author of the GitHub reviewpullRequestUrl
- the URL for the GitHub review
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescription
in classCause
-
getReviewAuthor
Retrieves the author of the GitHub review for this cause.- Returns:
- the author of the GitHub review
-
getPullRequestUrl
Retrieves the URL for the GitHub pull request for this cause.- Returns:
- the URL for the GitHub pull request
-