Class BitbucketCredentials
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.util.BitbucketCredentials
Utility class for common code accessing credentials
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormValidation
checkCredentialsId
(jenkins.scm.api.SCMSourceOwner context, String value, String serverURL) static ListBoxModel
fillCredentialsIdItems
(jenkins.scm.api.SCMSourceOwner context, String serverURL) static <T extends com.cloudbees.plugins.credentials.common.StandardCredentials>
TlookupCredentials
(String serverUrl, jenkins.scm.api.SCMSourceOwner context, String id, Class<T> type)
-
Method Details
-
lookupCredentials
-
fillCredentialsIdItems
public static ListBoxModel fillCredentialsIdItems(jenkins.scm.api.SCMSourceOwner context, String serverURL) -
checkCredentialsId
public static FormValidation checkCredentialsId(@CheckForNull jenkins.scm.api.SCMSourceOwner context, String value, String serverURL)
-