Class JobRunnerForCause
java.lang.Object
org.jenkinsci.plugins.github.pullrequest.trigger.JobRunnerForCause
- All Implemented Interfaces:
com.google.common.base.Predicate<GitHubPRCause>
,Predicate<GitHubPRCause>
public class JobRunnerForCause
extends Object
implements com.google.common.base.Predicate<GitHubPRCause>
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
abortRunning
(int number) boolean
apply
(GitHubPRCause cause) int
cancelQueuedBuildByPrNumber
(int id) Cancel previous builds for specified PR id.startJob
(GitHubPRCause cause) startJob
(GitHubPRCause cause, Cause additionalCause) 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
-
Constructor Details
-
JobRunnerForCause
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Predicate<GitHubPRCause>
-
abortRunning
- Throws:
IllegalAccessException
-
cancelQueuedBuildByPrNumber
public int cancelQueuedBuildByPrNumber(int id) Cancel previous builds for specified PR id. -
startJob
-
startJob
-