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:
  • Constructor Details

    • GitHubPullRequestReviewCause

      public GitHubPullRequestReviewCause(String reviewAuthor, String pullRequestUrl)
      Constructor.
      Parameters:
      reviewAuthor - the author of the GitHub review
      pullRequestUrl - the URL for the GitHub review
  • Method Details

    • getShortDescription

      public String getShortDescription()
      Specified by:
      getShortDescription in class Cause
    • getReviewAuthor

      @Exported(visibility=3) public String getReviewAuthor()
      Retrieves the author of the GitHub review for this cause.
      Returns:
      the author of the GitHub review
    • 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