Class GitHubPRCommentEvent

All Implemented Interfaces:
ExtensionPoint, Describable<GitHubPREvent>

public class GitHubPRCommentEvent extends GitHubPREvent
Trigger PR based on comment pattern.
Author:
Kanstantsin Shautsou
  • Constructor Details

    • GitHubPRCommentEvent

      @DataBoundConstructor public GitHubPRCommentEvent(String comment)
  • Method Details

    • getComment

      public String getComment()
    • check

      public GitHubPRCause check(@NonNull GitHubPRDecisionContext prDecisionContext)
      Description copied from class: GitHubPREvent
      indicates that PR was changed
      Overrides:
      check in class GitHubPREvent
      Returns:
      cause object. null when no influence (other events will be checked. If cause.isSkip() == true, then other checks wouldn't influence. And triggering for this branch will be skipped. If cause.isSkip() == false, indicates that branch build should be run.