Package jenkins.branch
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTheTaskListener
for events that we cannot assign to a multi-branch project.void
onSCMHeadEvent
(jenkins.scm.api.SCMHeadEvent<?> event) void
onSCMSourceEvent
(jenkins.scm.api.SCMSourceEvent<?> event) Methods inherited from class jenkins.scm.api.SCMEventListener
onSCMNavigatorEvent
-
Constructor Details
-
SCMEventListenerImpl
public SCMEventListenerImpl()
-
-
Method Details
-
globalEventsListener
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public StreamTaskListener globalEventsListener()TheTaskListener
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 classjenkins.scm.api.SCMEventListener
-
onSCMSourceEvent
public void onSCMSourceEvent(jenkins.scm.api.SCMSourceEvent<?> event) - Overrides:
onSCMSourceEvent
in classjenkins.scm.api.SCMEventListener
-