Class AbstractScmSourceEvent

java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMSourceEvent<Object>
io.jenkins.blueocean.scm.api.AbstractScmSourceEvent

public abstract class AbstractScmSourceEvent extends jenkins.scm.api.SCMSourceEvent<Object>
Implementation of SCMSourceEvent for Multibranch pipeline created from SCM
Author:
Vivek Pandey
  • 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
     
  • Method Summary

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

    Methods inherited from class jenkins.scm.api.SCMSourceEvent

    descriptionFor, descriptionFor, fireLater, fireNow, isMatch

    Methods inherited from class jenkins.scm.api.SCMEvent

    asCauses, closeExecutorService, description, 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

    • AbstractScmSourceEvent

      public AbstractScmSourceEvent(String repoName, String origin)
  • Method Details

    • isMatch

      public boolean isMatch(@NonNull jenkins.scm.api.SCMNavigator navigator)
      Specified by:
      isMatch in class jenkins.scm.api.SCMSourceEvent<Object>
    • getSourceName

      @NonNull public String getSourceName()
      Specified by:
      getSourceName in class jenkins.scm.api.SCMSourceEvent<Object>