Class SkipFirstRunForPRFilter
java.lang.Object
org.jenkinsci.plugins.github.pullrequest.trigger.check.SkipFirstRunForPRFilter
- All Implemented Interfaces:
com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
,Predicate<org.kohsuke.github.GHPullRequest>
public class SkipFirstRunForPRFilter
extends Object
implements com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
- Author:
- lanwen (Merkushev Kirill)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(org.kohsuke.github.GHPullRequest remotePR) static com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
ifSkippedFirstRun
(TaskListener logger, boolean skipFirstRun) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals, test
-
Method Details
-
ifSkippedFirstRun
public static com.google.common.base.Predicate<org.kohsuke.github.GHPullRequest> ifSkippedFirstRun(TaskListener logger, boolean skipFirstRun) -
apply
public boolean apply(org.kohsuke.github.GHPullRequest remotePR) - Specified by:
apply
in interfacecom.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
-