public class CredentialsUtilities extends Object
Constructor and Description |
---|
CredentialsUtilities() |
Modifier and Type | Method and Description |
---|---|
static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
get(String credentialsId,
Item item) |
static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
get(String credentialsId,
Run<?,?> context) |
static ListBoxModel |
getListBox(String credentialsId,
Jenkins jenkins) |
static Repository |
migrateToCredentialsProvider(Repository repository) |
public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials get(String credentialsId, Item item)
public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials get(String credentialsId, Run<?,?> context)
public static ListBoxModel getListBox(String credentialsId, Jenkins jenkins)
public static Repository migrateToCredentialsProvider(Repository repository)
Copyright © 2010–2021. All rights reserved.