Class GitHubScmHeadEvent<T>
java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<T>
com.github.kostyasha.github.integration.multibranch.hooks.GitHubScmHeadEvent<T>
- Direct Known Subclasses:
GitHubBranchSCMHeadEvent
,GitHubPullRequestScmHeadEvent
,GitHubTagSCMHeadEvent
public abstract class GitHubScmHeadEvent<T>
extends jenkins.scm.api.SCMHeadEvent<T>
- Author:
- Kanstantsin Shautsou
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMEvent
jenkins.scm.api.SCMEvent.Dispatcher<E extends jenkins.scm.api.SCMEvent<?>>, jenkins.scm.api.SCMEvent.EventQueueMetrics, jenkins.scm.api.SCMEvent.Type
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMEvent
ORIGIN_UNKNOWN
-
Constructor Summary
ModifierConstructorDescriptionprotected
GitHubScmHeadEvent
(jenkins.scm.api.SCMEvent.Type type, long timestamp, T payload, String origin) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
protected String
getSourceRepo
(jenkins.scm.api.SCMSource source) boolean
boolean
isMatch
(jenkins.scm.api.SCMNavigator navigator) boolean
isMatch
(jenkins.scm.api.SCMSource source) Methods inherited from class jenkins.scm.api.SCMHeadEvent
descriptionFor, descriptionFor, descriptionFor, filter, fireLater, fireNow, heads
Methods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, description, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, toString
-
Constructor Details
-
GitHubScmHeadEvent
-
-
Method Details
-
getSourceRepo
-
isMatch
public boolean isMatch(@NonNull jenkins.scm.api.SCMSource source) - Overrides:
isMatch
in classjenkins.scm.api.SCMHeadEvent<T>
-
getSourceName
- Specified by:
getSourceName
in classjenkins.scm.api.SCMHeadEvent<T>
-
getSourceRepo
-
isMatch
- Specified by:
isMatch
in classjenkins.scm.api.SCMHeadEvent<T>
-