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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(org.kohsuke.github.GHPullRequest remotePR)
static SkipPRInBadState
badState(GitHubPRRepository localRepo, TaskListener logger)
boolean
test(org.kohsuke.github.GHPullRequest remotePR)
-
-
-
Method Detail
-
badState
public static SkipPRInBadState badState(GitHubPRRepository localRepo, TaskListener logger)
-
apply
public boolean apply(@Nullable org.kohsuke.github.GHPullRequest remotePR)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<org.kohsuke.github.GHPullRequest>
-
-