Class ConnectionCachingFieldHelper<T extends CoverityConnectDataCache>
- java.lang.Object
-
- com.synopsys.integration.jenkins.coverity.extensions.utils.FieldHelper
-
- com.synopsys.integration.jenkins.coverity.extensions.utils.ConnectionCachingFieldHelper<T>
-
- Direct Known Subclasses:
IssueViewFieldHelper
,ProjectStreamFieldHelper
public abstract class ConnectionCachingFieldHelper<T extends CoverityConnectDataCache> extends FieldHelper
-
-
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 com.synopsys.integration.jenkins.coverity.extensions.utils.FieldHelper
wrapAsListBoxModelOption
-
-
-
-
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)
-
-