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
FieldsFields inherited from class jenkins.scm.api.SCMEvent
ORIGIN_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionGitLabMergeRequestSCMEvent(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) booleanisMatch(GitLabSCMNavigator navigator) booleanisMatch(GitLabSCMSource source) Methods inherited from class io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent
heads, isMatch, isMatch, isMatchMethods inherited from class jenkins.scm.api.SCMHeadEvent
descriptionFor, filter, fireLater, fireNowMethods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, originOf, toString
-
Field Details
-
LOGGER
-
-
Constructor Details
-
GitLabMergeRequestSCMEvent
public GitLabMergeRequestSCMEvent(org.gitlab4j.api.webhook.MergeRequestEvent mrEvent, String origin)
-
-
Method Details
-
isMatch
- Specified by:
isMatchin classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
getSourceName
- Specified by:
getSourceNamein classjenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
descriptionFor
- Overrides:
descriptionForin classjenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
description
- Overrides:
descriptionin 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:
headsForin classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>
-
getCause
- Specified by:
getCausein classAbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.MergeRequestEvent>