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 ClassesModifier and TypeClassDescriptionstatic interface
Keeps configuration used to determine whether builds requested byBranchIndexingCause
orBranchEventCause
should be suppressed.static enum
Strategy which determines which builds should be suppressed.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBranchProperties
(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
-
Constructor Details
-
NoTriggerMultiBranchQueueDecisionHandler
public NoTriggerMultiBranchQueueDecisionHandler()
-
-
Method Details
-
shouldSchedule
- 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.
-