Class GitLabMergeRequestSCMEvent
java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<E>
io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
io.jenkins.plugins.gitlabbranchsource.GitLabMergeRequestSCMEvent
- Direct Known Subclasses:
GitLabMergeRequestTrigger
public class GitLabMergeRequestSCMEvent
extends AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
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
ConstructorDescriptionGitLabMergeRequestSCMEvent
(org.gitlab4j.api.webhook.MergeRequestEvent mrEvent, 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
-
Field Details
-
LOGGER
-
-
Constructor Details
-
GitLabMergeRequestSCMEvent
public GitLabMergeRequestSCMEvent(org.gitlab4j.api.webhook.MergeRequestEvent mrEvent, String origin)
-
-
Method Details
-
isMatch
- Specified by:
isMatch
in classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
getSourceName
- Specified by:
getSourceName
in classjenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
descriptionFor
- Overrides:
descriptionFor
in classjenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
description
- Overrides:
description
in classjenkins.scm.api.SCMEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
headsFor
@NonNull public Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> headsFor(GitLabSCMSource source) - Specified by:
headsFor
in classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
getCause
- Specified by:
getCause
in classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>