Class GiteaRepositorySCMEvent

java.lang.Object
jenkins.scm.api.SCMEvent<GiteaRepositoryEvent>
jenkins.scm.api.SCMSourceEvent<GiteaRepositoryEvent>
org.jenkinsci.plugin.gitea.AbstractGiteaSCMSourceEvent<GiteaRepositoryEvent>
org.jenkinsci.plugin.gitea.GiteaRepositorySCMEvent

public class GiteaRepositorySCMEvent extends AbstractGiteaSCMSourceEvent<GiteaRepositoryEvent>
A SCMHeadEvent for a GiteaPushEvent.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Our handler.

    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

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    descriptionFor(jenkins.scm.api.SCMNavigator navigator)
    descriptionFor(jenkins.scm.api.SCMSource source)

    Methods inherited from class org.jenkinsci.plugin.gitea.AbstractGiteaSCMSourceEvent

    getSourceName, isMatch, isMatch

    Methods inherited from class jenkins.scm.api.SCMSourceEvent

    fireLater, fireNow

    Methods inherited from class jenkins.scm.api.SCMEvent

    asCauses, closeExecutorService, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, originOf, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GiteaRepositorySCMEvent

      public GiteaRepositorySCMEvent(@NonNull GiteaRepositoryEvent payload, @CheckForNull String origin)
      Constructor.
      Parameters:
      payload - the payload.
      origin - the origin.
  • Method Details

    • descriptionFor

      public String descriptionFor(@NonNull jenkins.scm.api.SCMNavigator navigator)
      Overrides:
      descriptionFor in class jenkins.scm.api.SCMSourceEvent<GiteaRepositoryEvent>
    • descriptionFor

      public String descriptionFor(jenkins.scm.api.SCMSource source)
      Overrides:
      descriptionFor in class jenkins.scm.api.SCMSourceEvent<GiteaRepositoryEvent>
    • description

      public String description()
      Overrides:
      description in class jenkins.scm.api.SCMEvent<GiteaRepositoryEvent>