Class SkipPRInBadState
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 Summary
Modifier and TypeMethodDescriptionboolean
apply
(org.kohsuke.github.GHPullRequest remotePR) static SkipPRInBadState
badState
(GitHubPRRepository localRepo, TaskListener logger) boolean
test
(org.kohsuke.github.GHPullRequest remotePR) 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
-
Method Details
-
badState
-
apply
public boolean apply(@Nullable org.kohsuke.github.GHPullRequest remotePR) - Specified by:
apply
in interfacecom.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
-
test
public boolean test(org.kohsuke.github.GHPullRequest remotePR)
-