Class SynopsysCoverityCredentialsHelper


  • public class SynopsysCoverityCredentialsHelper
    extends com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.cloudbees.plugins.credentials.CredentialsMatcher AUTH_KEY_FILE_CREDENTIALS  
      static java.lang.Class<org.jenkinsci.plugins.plaincredentials.FileCredentials> AUTH_KEY_FILE_CREDENTIALS_CLASS  
      static com.cloudbees.plugins.credentials.CredentialsMatcher SUPPORTED_CREDENTIALS_TYPES  
      • Fields inherited from class com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper

        API_TOKEN_CREDENTIALS, API_TOKEN_CREDENTIALS_CLASS, API_TOKEN_OR_USERNAME_PASSWORD_CREDENTIALS, USERNAME_PASSWORD_CREDENTIALS_CLASS
    • Constructor Summary

      Constructors 
      Constructor Description
      SynopsysCoverityCredentialsHelper​(com.synopsys.integration.log.IntLogger logger, com.synopsys.integration.jenkins.wrapper.JenkinsWrapper jenkinsWrapper)  
    • Field Detail

      • AUTH_KEY_FILE_CREDENTIALS_CLASS

        public static final java.lang.Class<org.jenkinsci.plugins.plaincredentials.FileCredentials> AUTH_KEY_FILE_CREDENTIALS_CLASS
      • AUTH_KEY_FILE_CREDENTIALS

        public static final com.cloudbees.plugins.credentials.CredentialsMatcher AUTH_KEY_FILE_CREDENTIALS
      • SUPPORTED_CREDENTIALS_TYPES

        public static final com.cloudbees.plugins.credentials.CredentialsMatcher SUPPORTED_CREDENTIALS_TYPES
    • Constructor Detail

      • SynopsysCoverityCredentialsHelper

        public SynopsysCoverityCredentialsHelper​(com.synopsys.integration.log.IntLogger logger,
                                                 com.synopsys.integration.jenkins.wrapper.JenkinsWrapper jenkinsWrapper)
    • Method Detail

      • listSupportedCredentials

        public hudson.util.ListBoxModel listSupportedCredentials()
      • getAuthenticationKeyFileCredentialsById

        public java.util.Optional<org.jenkinsci.plugins.plaincredentials.FileCredentials> getAuthenticationKeyFileCredentialsById​(java.lang.String credentialsId)
      • getCoverityUsernameById

        public java.util.Optional<java.lang.String> getCoverityUsernameById​(java.lang.String credentialsId)
      • getCoverityPassphraseById

        public java.util.Optional<java.lang.String> getCoverityPassphraseById​(java.lang.String credentialsId)
      • getIntegrationCredentialsById

        public com.synopsys.integration.rest.credentials.Credentials getIntegrationCredentialsById​(java.lang.String credentialsId)
        Overrides:
        getIntegrationCredentialsById in class com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper
      • checkPermissionToAccessCredentials

        public void checkPermissionToAccessCredentials​(hudson.model.Item item)