Class UserRestrictionFilter

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

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

    • withUserRestriction

      public static com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest> withUserRestriction(LoggingTaskListenerWrapper listener, GitHubPRUserRestriction userRestriction)
    • apply

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