Class GitLabPushSCMEvent
java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<E>
io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
io.jenkins.plugins.gitlabbranchsource.GitLabPushSCMEvent
public class GitLabPushSCMEvent
extends AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
-
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 io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent
LOGGER
Fields inherited from class jenkins.scm.api.SCMEvent
ORIGIN_UNKNOWN
-
Constructor Summary
ConstructorDescriptionGitLabPushSCMEvent
(org.gitlab4j.api.webhook.PushEvent pushEvent, String origin) -
Method Summary
Modifier and TypeMethodDescriptiondescriptionFor
(jenkins.scm.api.SCMNavigator navigator) descriptionFor
(jenkins.scm.api.SCMSource source) getCause()
Map<jenkins.scm.api.SCMHead,
jenkins.scm.api.SCMRevision> headsFor
(GitLabSCMSource source) boolean
isMatch
(GitLabSCMNavigator navigator) boolean
isMatch
(GitLabSCMSource source) Methods inherited from class io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent
heads, isMatch, isMatch, isMatch
Methods inherited from class jenkins.scm.api.SCMHeadEvent
descriptionFor, filter, fireLater, fireNow
Methods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, toString
-
Constructor Details
-
GitLabPushSCMEvent
-
-
Method Details
-
getSourceName
- Specified by:
getSourceName
in classjenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
-
descriptionFor
- Overrides:
descriptionFor
in classjenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
-
description
- Overrides:
description
in classjenkins.scm.api.SCMEvent<org.gitlab4j.api.webhook.PushEvent>
-
isMatch
- Specified by:
isMatch
in classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
-
headsFor
@NonNull public Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> headsFor(GitLabSCMSource source) - Specified by:
headsFor
in classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
-
getCause
- Specified by:
getCause
in classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>