Class NotUpdatedPRFilter

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

public class NotUpdatedPRFilter extends Object implements com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>, Predicate<org.kohsuke.github.GHPullRequest>
Author:
lanwen (Merkushev Kirill)
  • Method Details

    • notUpdated

      public static NotUpdatedPRFilter notUpdated(GitHubPRRepository localRepo, TaskListener logger)
    • apply

      public boolean apply(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>