Class GitHubPullRequestLabelCause

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

public final class GitHubPullRequestLabelCause extends Cause implements Serializable
Created by Agyaey on 04/04/2023.
See Also:
  • Constructor Details

    • GitHubPullRequestLabelCause

      public GitHubPullRequestLabelCause(String labelUrl, String labellingAuthor, String label)
      Constructor.
      Parameters:
      labelUrl - the URL for the GitHub Label
      labellingAuthor - the author of the GitHub Label
      label - the body for the GitHub Label
  • Method Details

    • getShortDescription

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

      @Exported(visibility=3) public String getLabelUrl()
      Retrieves the URL for the GitHub Label for this cause.
      Returns:
      the URL for the GitHub Label
    • getLabellingAuthor

      @Exported(visibility=3) public String getLabellingAuthor()
      Retrieves the author of the GitHub Label for this cause.
      Returns:
      the author of the GitHub Label
    • getLabel

      @Exported(visibility=3) public String getLabel()
      Retrieves the body for the GitHub Label for this cause.
      Returns:
      the body for the GitHub Label