Class GitLabProjectSCMEvent

java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
io.jenkins.plugins.gitlabbranchsource.GitLabProjectSCMEvent

public class GitLabProjectSCMEvent extends jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
  • 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

    Constructors
    Constructor
    Description
    GitLabProjectSCMEvent(org.gitlab4j.api.systemhooks.ProjectSystemHookEvent projectSystemHookEvent, String origin)
     
  • Method Summary

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

    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, toString

    Methods inherited from class java.lang.Object

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

    • GitLabProjectSCMEvent

      public GitLabProjectSCMEvent(org.gitlab4j.api.systemhooks.ProjectSystemHookEvent projectSystemHookEvent, String origin)
  • Method Details

    • descriptionFor

      public String descriptionFor(@NonNull jenkins.scm.api.SCMNavigator navigator)
      Overrides:
      descriptionFor in class jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
    • description

      public String description()
      Overrides:
      description in class jenkins.scm.api.SCMEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
    • descriptionFor

      public String descriptionFor(jenkins.scm.api.SCMSource source)
      Overrides:
      descriptionFor in class jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
    • getSourceName

      @NonNull public String getSourceName()
      Specified by:
      getSourceName in class jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
    • isMatch

      public boolean isMatch(@NonNull jenkins.scm.api.SCMNavigator navigator)
      Specified by:
      isMatch in class jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>
    • isMatch

      public boolean isMatch(@NonNull jenkins.scm.api.SCMSource source)
      Specified by:
      isMatch in class jenkins.scm.api.SCMSourceEvent<org.gitlab4j.api.systemhooks.ProjectSystemHookEvent>