Package org.jenkinsci.plugin.gitea
Class GiteaPullSCMEvent
java.lang.Object
jenkins.scm.api.SCMEvent<GiteaPullRequestEvent>
jenkins.scm.api.SCMHeadEvent<GiteaPullRequestEvent>
org.jenkinsci.plugin.gitea.AbstractGiteaSCMHeadEvent<GiteaPullRequestEvent>
org.jenkinsci.plugin.gitea.GiteaPullSCMEvent
A
SCMHeadEvent for a GiteaPullRequestEvent.-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionGiteaPullSCMEvent(GiteaPullRequestEvent payload, String origin) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondescriptionFor(jenkins.scm.api.SCMNavigator navigator) descriptionFor(jenkins.scm.api.SCMSource source) Map<jenkins.scm.api.SCMHead, jenkins.scm.api.SCMRevision> headsFor(GiteaSCMSource source) Methods inherited from class org.jenkinsci.plugin.gitea.AbstractGiteaSCMHeadEvent
getSourceName, heads, isMatch, isMatchMethods inherited from class jenkins.scm.api.SCMHeadEvent
descriptionFor, filter, fireLater, fireNow, isMatchMethods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, originOf, toString
-
Constructor Details
-
GiteaPullSCMEvent
Constructor.- Parameters:
payload- the payload.origin- the origin
-
-
Method Details
-
descriptionFor
- Overrides:
descriptionForin classjenkins.scm.api.SCMHeadEvent<GiteaPullRequestEvent>
-
description
- Overrides:
descriptionin classjenkins.scm.api.SCMEvent<GiteaPullRequestEvent>
-
headsFor
@NonNull public Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> headsFor(GiteaSCMSource source) - Specified by:
headsForin classAbstractGiteaSCMHeadEvent<GiteaPullRequestEvent>