Package jenkins.branch
Class OrganizationFolder.SCMEventListenerImpl
java.lang.Object
jenkins.scm.api.SCMEventListener
jenkins.branch.OrganizationFolder.SCMEventListenerImpl
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- OrganizationFolder
@Extension
public static class OrganizationFolder.SCMEventListenerImpl
extends jenkins.scm.api.SCMEventListener
Listens for events from the SCM event system.
- Since:
- 2.0
-
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 an organization folder.void
onSCMHeadEvent
(jenkins.scm.api.SCMHeadEvent<?> event) void
onSCMNavigatorEvent
(jenkins.scm.api.SCMNavigatorEvent<?> event) void
onSCMSourceEvent
(jenkins.scm.api.SCMSourceEvent<?> event)
-
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 an organization folder.- Returns:
- The
TaskListener
for events that we cannot assign to an organization folder.
-
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
-