Package jenkins.scm.impl
Class SCMTriggerListener
java.lang.Object
jenkins.scm.api.SCMEventListener
jenkins.scm.impl.SCMTriggerListener
- All Implemented Interfaces:
ExtensionPoint
A
SCMEventListener
that will trigger the post commit hooks enabled by SCMTrigger
for any
SCMHeadEvent
which return a positive match against a SCM
through SCMHeadEvent.isMatch(SCM)
.- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSCMHeadEvent
(SCMHeadEvent<?> event) Callback for aSCMHeadEvent
Methods inherited from class jenkins.scm.api.SCMEventListener
onSCMNavigatorEvent, onSCMSourceEvent
-
Constructor Details
-
SCMTriggerListener
public SCMTriggerListener()
-
-
Method Details
-
onSCMHeadEvent
Callback for aSCMHeadEvent
- Overrides:
onSCMHeadEvent
in classSCMEventListener
- Parameters:
event
- the event.
-