Class P4BranchSCMHeadEvent


  • public class P4BranchSCMHeadEvent
    extends jenkins.scm.api.SCMHeadEvent<net.sf.json.JSONObject>
    • 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
      P4BranchSCMHeadEvent​(jenkins.scm.api.SCMEvent.Type type, net.sf.json.JSONObject payload, String origin)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getSourceName()  
      Map<jenkins.scm.api.SCMHead,​jenkins.scm.api.SCMRevision> heads​(jenkins.scm.api.SCMSource scmSource)  
      boolean isMatch​(SCM scm)  
      boolean isMatch​(jenkins.scm.api.SCMNavigator scmNavigator)  
      • Methods inherited from class jenkins.scm.api.SCMHeadEvent

        descriptionFor, descriptionFor, descriptionFor, filter, 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
    • Constructor Detail

      • P4BranchSCMHeadEvent

        public P4BranchSCMHeadEvent​(@NonNull
                                    jenkins.scm.api.SCMEvent.Type type,
                                    net.sf.json.JSONObject payload,
                                    String origin)
    • Method Detail

      • getSourceName

        @NonNull
        public String getSourceName()
        Specified by:
        getSourceName in class jenkins.scm.api.SCMHeadEvent<net.sf.json.JSONObject>
      • heads

        @NonNull
        public Map<jenkins.scm.api.SCMHead,​jenkins.scm.api.SCMRevision> heads​(@NonNull
                                                                                    jenkins.scm.api.SCMSource scmSource)
        Specified by:
        heads in class jenkins.scm.api.SCMHeadEvent<net.sf.json.JSONObject>
      • isMatch

        public boolean isMatch​(@NonNull
                               SCM scm)
        Specified by:
        isMatch in class jenkins.scm.api.SCMHeadEvent<net.sf.json.JSONObject>
      • isMatch

        public boolean isMatch​(@NonNull
                               jenkins.scm.api.SCMNavigator scmNavigator)
        Specified by:
        isMatch in class jenkins.scm.api.SCMHeadEvent<net.sf.json.JSONObject>