java.lang.Object
org.jenkinsci.plugins.github.pullrequest.trigger.check.SkipPRInBadState
All Implemented Interfaces:
com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>, Predicate<org.kohsuke.github.GHPullRequest>

public class SkipPRInBadState extends Object implements com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>, Predicate<org.kohsuke.github.GHPullRequest>
Author:
Kanstantsin Shautsou
  • Method Details

    • badState

      public static SkipPRInBadState badState(GitHubPRRepository localRepo, TaskListener logger)
    • apply

      public boolean apply(@Nullable org.kohsuke.github.GHPullRequest remotePR)
      Specified by:
      apply in interface com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
    • test

      public boolean test(org.kohsuke.github.GHPullRequest remotePR)
      Specified by:
      test in interface com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
      Specified by:
      test in interface Predicate<org.kohsuke.github.GHPullRequest>