Package jenkins.branch
Class NoTriggerMultiBranchQueueDecisionHandler
- java.lang.Object
-
- hudson.model.Queue.QueueDecisionHandler
-
- jenkins.branch.NoTriggerMultiBranchQueueDecisionHandler
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
NoTriggerBranchProperty.Dispatcher
,NoTriggerOrganizationFolderProperty.Dispatcher
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class NoTriggerMultiBranchQueueDecisionHandler extends Queue.QueueDecisionHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
Keeps configuration used to determine whether builds requested byBranchIndexingCause
orBranchEventCause
should be suppressed.static class
NoTriggerMultiBranchQueueDecisionHandler.SuppressionStrategy
Strategy which determines which builds should be suppressed.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description NoTriggerMultiBranchQueueDecisionHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Iterable<? extends Object>
getBranchProperties(MultiBranchProject project, Job job)
Returns properties associated with the branch represented by the job.boolean
shouldSchedule(Queue.Task p, List<Action> actions)
-
Methods inherited from class hudson.model.Queue.QueueDecisionHandler
all
-
-
-
-
Method Detail
-
shouldSchedule
public boolean shouldSchedule(Queue.Task p, List<Action> actions)
- Specified by:
shouldSchedule
in classQueue.QueueDecisionHandler
-
getBranchProperties
@NonNull protected abstract Iterable<? extends Object> getBranchProperties(MultiBranchProject project, Job job)
Returns properties associated with the branch represented by the job.- Parameters:
project
- the project to which the job belongs to.job
- the job of which the properties are returned.- Returns:
- the job properties.
-
-