Class BitbucketCredentials

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.util.BitbucketCredentials

public class BitbucketCredentials extends Object
Utility class for common code accessing credentials
  • Method Details

    • lookupCredentials

      @CheckForNull public static <T extends com.cloudbees.plugins.credentials.common.StandardCredentials> T lookupCredentials(@CheckForNull String serverUrl, @CheckForNull jenkins.scm.api.SCMSourceOwner context, @CheckForNull String id, @NonNull Class<T> type)
    • 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)