Class BranchRestrictionFilter
- java.lang.Object
-
- org.jenkinsci.plugins.github.pullrequest.trigger.check.BranchRestrictionFilter
-
- All Implemented Interfaces:
com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
,Predicate<org.kohsuke.github.GHPullRequest>
public class BranchRestrictionFilter extends Object implements com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
- Author:
- lanwen (Merkushev Kirill)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(org.kohsuke.github.GHPullRequest remotePR)
static com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
withBranchRestriction(LoggingTaskListenerWrapper logger, GitHubPRBranchRestriction branchRestriction)
-
-
-
Method Detail
-
withBranchRestriction
public static com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest> withBranchRestriction(LoggingTaskListenerWrapper logger, GitHubPRBranchRestriction branchRestriction)
-
apply
public boolean apply(org.kohsuke.github.GHPullRequest remotePR)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
-
-