Class ConnectionCachingFieldHelper<T extends CoverityConnectDataCache>

    • Field Summary

      • Fields inherited from class com.synopsys.integration.jenkins.coverity.extensions.utils.FieldHelper

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionCachingFieldHelper​(com.synopsys.integration.log.IntLogger logger, java.util.function.Supplier<T> cacheConstructor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T getCache​(java.lang.String coverityConnectUrl, java.lang.String credentialsId)  
      void updateNow​(java.lang.String coverityConnectUrl, java.lang.Boolean overrideDefaultCredentials, java.lang.String credentialsId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectionCachingFieldHelper

        public ConnectionCachingFieldHelper​(com.synopsys.integration.log.IntLogger logger,
                                            java.util.function.Supplier<T> cacheConstructor)
    • Method Detail

      • updateNow

        public void updateNow​(java.lang.String coverityConnectUrl,
                              java.lang.Boolean overrideDefaultCredentials,
                              java.lang.String credentialsId)
                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getCache

        protected T getCache​(java.lang.String coverityConnectUrl,
                             java.lang.String credentialsId)