Class AbstractGitLabSCMHeadEvent<E>
java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<E>
io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent<E>
- Direct Known Subclasses:
GitLabMergeRequestSCMEvent
,GitLabPushSCMEvent
,GitLabTagPushSCMEvent
public abstract class AbstractGitLabSCMHeadEvent<E>
extends jenkins.scm.api.SCMHeadEvent<E>
-
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
ConstructorDescriptionAbstractGitLabSCMHeadEvent
(jenkins.scm.api.SCMEvent.Type type, E createEvent, String origin) -
Method Summary
Modifier and TypeMethodDescriptionabstract GitLabWebHookCause
getCause()
final Map<jenkins.scm.api.SCMHead,
jenkins.scm.api.SCMRevision> heads
(jenkins.scm.api.SCMSource source) protected abstract Map<jenkins.scm.api.SCMHead,
jenkins.scm.api.SCMRevision> headsFor
(GitLabSCMSource source) boolean
abstract boolean
isMatch
(GitLabSCMNavigator navigator) abstract boolean
isMatch
(GitLabSCMSource source) 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, getSourceName
Methods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, description, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, toString
-
Field Details
-
LOGGER
-
-
Constructor Details
-
AbstractGitLabSCMHeadEvent
-
-
Method Details
-
isMatch
public boolean isMatch(@NonNull jenkins.scm.api.SCMSource source) - Overrides:
isMatch
in classjenkins.scm.api.SCMHeadEvent<E>
-
isMatch
-
heads
@NonNull public final Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> heads(@NonNull jenkins.scm.api.SCMSource source) - Specified by:
heads
in classjenkins.scm.api.SCMHeadEvent<E>
-
isMatch
- Specified by:
isMatch
in classjenkins.scm.api.SCMHeadEvent<E>
-
headsFor
@NonNull protected abstract Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> headsFor(GitLabSCMSource source) -
getCause