Class LockableResourcesQueueTaskDispatcher.BecauseResourcesTimeout
java.lang.Object
hudson.model.queue.CauseOfBlockage
org.jenkins.plugins.lockableresources.queue.LockableResourcesQueueTaskDispatcher.BecauseResourcesTimeout
- Enclosing class:
LockableResourcesQueueTaskDispatcher
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class LockableResourcesQueueTaskDispatcher.BecauseResourcesTimeout
extends CauseOfBlockage
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.queue.CauseOfBlockage
CauseOfBlockage.BecauseLabelIsBusy, CauseOfBlockage.BecauseLabelIsOffline, CauseOfBlockage.BecauseNodeIsBusy, CauseOfBlockage.BecauseNodeIsNotAcceptingTasks, CauseOfBlockage.BecauseNodeIsOffline -
Constructor Summary
ConstructorsConstructorDescriptionBecauseResourcesTimeout(String projectName, long timeout, String timeoutUnit) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFatal()Signals that this blockage is fatal and the queue item should be removed.Methods inherited from class hudson.model.queue.CauseOfBlockage
createNeedsMoreExecutor, fromMessage, print, toString
-
Constructor Details
-
BecauseResourcesTimeout
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescriptionin classCauseOfBlockage
-
isFatal
public boolean isFatal()Signals that this blockage is fatal and the queue item should be removed. Since Jenkins 2.532 (core PR #11173), the queue checks this flag and cancels the item itself instead of re-adding it as aBlockedItem.- Overrides:
isFatalin classCauseOfBlockage
-