Class GitHubPRDescriptionEvent

    • Constructor Detail

      • GitHubPRDescriptionEvent

        @DataBoundConstructor
        public GitHubPRDescriptionEvent​(String skipMsg)
    • Method Detail

      • check

        public GitHubPRCause check​(@NonNull
                                   GitHubPRDecisionContext prDecisionContext)
                            throws IOException
        Checks for skip message in pull request description.
        Overrides:
        check in class GitHubPREvent
        Parameters:
        prDecisionContext - .remotePR GHIssue that contains description for checking
        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.
        Throws:
        IOException
      • getSkipMsg

        public String getSkipMsg()