Class GitHubPullRequestUpdateCause

java.lang.Object
hudson.model.Cause
com.adobe.jenkins.github_pr_comment_build.GitHubPullRequestUpdateCause
All Implemented Interfaces:
Serializable

public final class GitHubPullRequestUpdateCause extends Cause implements Serializable
Created by saville on 10/13/2016.
See Also:
  • Constructor Details

    • GitHubPullRequestUpdateCause

      public GitHubPullRequestUpdateCause(String updateAuthor, String pullRequestUrl)
      Constructor.
      Parameters:
      updateAuthor - the author for the GitHub update
      pullRequestUrl - the URL for the GitHub update
  • Method Details

    • getShortDescription

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

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