Class SynopsysCoverityCredentialsHelper
- java.lang.Object
-
- com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper
-
- com.synopsys.integration.jenkins.coverity.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
-
Constructor Summary
Constructors Constructor Description SynopsysCoverityCredentialsHelper(com.synopsys.integration.log.IntLogger logger, com.synopsys.integration.jenkins.wrapper.JenkinsWrapper jenkinsWrapper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkPermissionToAccessCredentials(hudson.model.Item item)
java.util.Optional<org.jenkinsci.plugins.plaincredentials.FileCredentials>
getAuthenticationKeyFileCredentialsById(java.lang.String credentialsId)
java.util.Optional<java.lang.String>
getCoverityPassphraseById(java.lang.String credentialsId)
java.util.Optional<java.lang.String>
getCoverityUsernameById(java.lang.String credentialsId)
com.synopsys.integration.rest.credentials.Credentials
getIntegrationCredentialsById(java.lang.String credentialsId)
hudson.util.ListBoxModel
listSupportedCredentials()
static SynopsysCoverityCredentialsHelper
silentHelper(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
-
-
Method Detail
-
silentHelper
public static SynopsysCoverityCredentialsHelper silentHelper(com.synopsys.integration.jenkins.wrapper.JenkinsWrapper jenkinsWrapper)
-
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 classcom.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper
-
checkPermissionToAccessCredentials
public void checkPermissionToAccessCredentials(hudson.model.Item item)
-
-