Class GitHubPullRequestReviewCause
- java.lang.Object
-
- hudson.model.Cause
-
- com.adobe.jenkins.github_pr_comment_build.GitHubPullRequestReviewCause
-
- All Implemented Interfaces:
Serializable
public final class GitHubPullRequestReviewCause extends Cause implements Serializable
Created by Micky Loo on 05/02/2019.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Constructor Summary
Constructors Constructor Description GitHubPullRequestReviewCause(String pullRequestUrl)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPullRequestUrl()
Retrieves the URL for the GitHub pull request for this cause.String
getShortDescription()
-
-
-
Constructor Detail
-
GitHubPullRequestReviewCause
public GitHubPullRequestReviewCause(String pullRequestUrl)
Constructor.- Parameters:
pullRequestUrl
- the URL for the GitHub comment
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCause
-
getPullRequestUrl
@Exported(visibility=3) public String getPullRequestUrl()
Retrieves the URL for the GitHub pull request for this cause.- Returns:
- the URL for the GitHub pull request
-
-