Class GitLabPushSCMEvent

java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<E>
io.jenkins.plugins.gitlabbranchsource.AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
io.jenkins.plugins.gitlabbranchsource.GitLabPushSCMEvent

public class GitLabPushSCMEvent extends AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
  • Constructor Details

    • GitLabPushSCMEvent

      public GitLabPushSCMEvent(org.gitlab4j.api.webhook.PushEvent pushEvent, String origin)
  • Method Details

    • descriptionFor

      public String descriptionFor(@NonNull jenkins.scm.api.SCMNavigator navigator)
      Overrides:
      descriptionFor in class jenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
    • getSourceName

      @NonNull public String getSourceName()
      Specified by:
      getSourceName in class jenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
    • descriptionFor

      public String descriptionFor(jenkins.scm.api.SCMSource source)
      Overrides:
      descriptionFor in class jenkins.scm.api.SCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
    • description

      public String description()
      Overrides:
      description in class jenkins.scm.api.SCMEvent<org.gitlab4j.api.webhook.PushEvent>
    • isMatch

      public boolean isMatch(@NonNull GitLabSCMNavigator navigator)
      Specified by:
      isMatch in class AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
    • isMatch

      public boolean isMatch(@NonNull GitLabSCMSource source)
      Specified by:
      isMatch in class AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
    • headsFor

      @NonNull public Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> headsFor(GitLabSCMSource source)
      Specified by:
      headsFor in class AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>
    • getCause

      public GitLabWebHookCause getCause()
      Specified by:
      getCause in class AbstractGitLabSCMHeadEvent<org.gitlab4j.api.webhook.PushEvent>