Package org.jenkinsci.plugin.gitea
Class AbstractGiteaSCMSourceEvent<E extends GiteaEvent>
java.lang.Object
jenkins.scm.api.SCMEvent<E>
jenkins.scm.api.SCMSourceEvent<E>
org.jenkinsci.plugin.gitea.AbstractGiteaSCMSourceEvent<E>
- Type Parameters:
E- theGiteaEvent.
- Direct Known Subclasses:
GiteaRepositorySCMEvent
public abstract class AbstractGiteaSCMSourceEvent<E extends GiteaEvent>
extends jenkins.scm.api.SCMSourceEvent<E>
Base class for
SCMHeadEvent from Gitea.-
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
ConstructorsConstructorDescriptionAbstractGiteaSCMSourceEvent(jenkins.scm.api.SCMEvent.Type type, E payload, String origin) Constructor. -
Method Summary
Methods inherited from class jenkins.scm.api.SCMSourceEvent
descriptionFor, descriptionFor, fireLater, fireNowMethods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, description, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, originOf, toString
-
Constructor Details
-
Method Details
-
getSourceName
- Specified by:
getSourceNamein classjenkins.scm.api.SCMSourceEvent<E extends GiteaEvent>
-
isMatch
public boolean isMatch(@NonNull jenkins.scm.api.SCMSource source) - Specified by:
isMatchin classjenkins.scm.api.SCMSourceEvent<E extends GiteaEvent>