Package jenkins.scm.impl
Class SCMTriggerListener
- java.lang.Object
-
- jenkins.scm.api.SCMEventListener
-
- jenkins.scm.impl.SCMTriggerListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class SCMTriggerListener extends SCMEventListener
ASCMEventListener
that will trigger the post commit hooks enabled bySCMTrigger
for anySCMHeadEvent
which return a positive match against aSCM
throughSCMHeadEvent.isMatch(SCM)
.- Since:
- 2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SCMTriggerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onSCMHeadEvent(SCMHeadEvent<?> event)
Callback for aSCMHeadEvent
-
Methods inherited from class jenkins.scm.api.SCMEventListener
onSCMNavigatorEvent, onSCMSourceEvent
-
-
-
-
Method Detail
-
onSCMHeadEvent
public void onSCMHeadEvent(SCMHeadEvent<?> event)
Callback for aSCMHeadEvent
- Overrides:
onSCMHeadEvent
in classSCMEventListener
- Parameters:
event
- the event.
-
-