Class GitLabWebHookListener

java.lang.Object
io.jenkins.plugins.gitlabbranchsource.GitLabWebHookListener
All Implemented Interfaces:
EventListener, org.gitlab4j.api.webhook.WebHookListener

public class GitLabWebHookListener extends Object implements org.gitlab4j.api.webhook.WebHookListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMergeRequestEvent(org.gitlab4j.api.webhook.MergeRequestEvent mrEvent)
     
    void
    onNoteEvent(org.gitlab4j.api.webhook.NoteEvent noteEvent)
     
    void
    onPushEvent(org.gitlab4j.api.webhook.PushEvent pushEvent)
     
    void
    onTagPushEvent(org.gitlab4j.api.webhook.TagPushEvent tagPushEvent)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gitlab4j.api.webhook.WebHookListener

    onBuildEvent, onDeploymentEvent, onIssueEvent, onJobEvent, onPipelineEvent, onReleaseEvent, onWikiPageEvent, onWorkItemEvent
  • Field Details

    • LOGGER

      public static final Logger LOGGER
  • Constructor Details

    • GitLabWebHookListener

      public GitLabWebHookListener(String origin)
  • Method Details

    • onNoteEvent

      public void onNoteEvent(org.gitlab4j.api.webhook.NoteEvent noteEvent)
      Specified by:
      onNoteEvent in interface org.gitlab4j.api.webhook.WebHookListener
    • onMergeRequestEvent

      public void onMergeRequestEvent(org.gitlab4j.api.webhook.MergeRequestEvent mrEvent)
      Specified by:
      onMergeRequestEvent in interface org.gitlab4j.api.webhook.WebHookListener
    • onPushEvent

      public void onPushEvent(org.gitlab4j.api.webhook.PushEvent pushEvent)
      Specified by:
      onPushEvent in interface org.gitlab4j.api.webhook.WebHookListener
    • onTagPushEvent

      public void onTagPushEvent(org.gitlab4j.api.webhook.TagPushEvent tagPushEvent)
      Specified by:
      onTagPushEvent in interface org.gitlab4j.api.webhook.WebHookListener