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
  • Constructor Details

    • NoTriggerMultiBranchQueueDecisionHandler

      public NoTriggerMultiBranchQueueDecisionHandler()
  • Method Details

    • shouldSchedule

      public boolean shouldSchedule(Queue.Task p, List<Action> actions)
      Specified by:
      shouldSchedule in class Queue.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.