Class MultiBranchProject.SCMEventListenerImpl

java.lang.Object
jenkins.scm.api.SCMEventListener
jenkins.branch.MultiBranchProject.SCMEventListenerImpl
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
MultiBranchProject<P extends Job<P,R> & TopLevelItem,R extends Run<P,R>>

@Extension public static class MultiBranchProject.SCMEventListenerImpl extends jenkins.scm.api.SCMEventListener
Our event listener.
  • Constructor Details

    • SCMEventListenerImpl

      public SCMEventListenerImpl()
  • Method Details

    • globalEventsListener

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public StreamTaskListener globalEventsListener()
      The TaskListener for events that we cannot assign to a multi-branch project.
      Returns:
      The TaskListener for events that we cannot assign to a multi-branch project.
    • onSCMHeadEvent

      public void onSCMHeadEvent(jenkins.scm.api.SCMHeadEvent<?> event)
      Overrides:
      onSCMHeadEvent in class jenkins.scm.api.SCMEventListener
    • onSCMSourceEvent

      public void onSCMSourceEvent(jenkins.scm.api.SCMSourceEvent<?> event)
      Overrides:
      onSCMSourceEvent in class jenkins.scm.api.SCMEventListener