Class GitHubScmHeadEvent<T>

    • 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 
      Modifier Constructor Description
      protected GitHubScmHeadEvent​(jenkins.scm.api.SCMEvent.Type type, long timestamp, T payload, String origin)  
    • Constructor Detail

      • GitHubScmHeadEvent

        protected GitHubScmHeadEvent​(jenkins.scm.api.SCMEvent.Type type,
                                     long timestamp,
                                     T payload,
                                     String origin)
    • Method Detail

      • getSourceRepo

        @NonNull
        protected abstract String getSourceRepo()
      • isMatch

        public boolean isMatch​(@NonNull
                               jenkins.scm.api.SCMSource source)
        Overrides:
        isMatch in class jenkins.scm.api.SCMHeadEvent<T>
      • getSourceName

        @NonNull
        public String getSourceName()
        Specified by:
        getSourceName in class jenkins.scm.api.SCMHeadEvent<T>
      • getSourceRepo

        @CheckForNull
        protected String getSourceRepo​(@NonNull
                                       jenkins.scm.api.SCMSource source)
      • isMatch

        public boolean isMatch​(jenkins.scm.api.SCMNavigator navigator)
        Specified by:
        isMatch in class jenkins.scm.api.SCMHeadEvent<T>
      • isMatch

        public boolean isMatch​(SCM scm)
        Specified by:
        isMatch in class jenkins.scm.api.SCMHeadEvent<T>