Class GitHubBranchSCMHeadEvent

java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<T>
com.github.kostyasha.github.integration.multibranch.hooks.GitHubScmHeadEvent<BranchInfo>
com.github.kostyasha.github.integration.multibranch.hooks.GitHubBranchSCMHeadEvent

public class GitHubBranchSCMHeadEvent extends GitHubScmHeadEvent<BranchInfo>
Author:
Kanstantsin Shautsou
  • 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
    GitHubBranchSCMHeadEvent(jenkins.scm.api.SCMEvent.Type type, long timestamp, BranchInfo payload, String origin)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision>
    heads(jenkins.scm.api.SCMSource source)
     

    Methods inherited from class com.github.kostyasha.github.integration.multibranch.hooks.GitHubScmHeadEvent

    getSourceName, getSourceRepo, isMatch, isMatch, isMatch

    Methods inherited from class jenkins.scm.api.SCMHeadEvent

    descriptionFor, descriptionFor, descriptionFor, filter, fireLater, fireNow

    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

    • GitHubBranchSCMHeadEvent

      public GitHubBranchSCMHeadEvent(@NonNull jenkins.scm.api.SCMEvent.Type type, long timestamp, @NonNull BranchInfo payload, @CheckForNull String origin)
  • Method Details

    • getSourceRepo

      @NonNull protected String getSourceRepo()
      Specified by:
      getSourceRepo in class GitHubScmHeadEvent<BranchInfo>
    • heads

      @NonNull public Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> heads(@NonNull jenkins.scm.api.SCMSource source)
      Specified by:
      heads in class jenkins.scm.api.SCMHeadEvent<BranchInfo>