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
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintabortRunning(int number) booleanapply(GitHubPRCause cause) intcancelQueuedBuildByPrNumber(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, waitMethods inherited from interface com.google.common.base.Predicate
equals, test
-
Constructor Details
-
JobRunnerForCause
-
-
Method Details
-
apply
- Specified by:
applyin interfacecom.google.common.base.Predicate<GitHubPRCause>
-
abortRunning
- Throws:
IllegalAccessException
-
cancelQueuedBuildByPrNumber
public int cancelQueuedBuildByPrNumber(int id) Cancel previous builds for specified PR id. -
startJob
-
startJob
-