Class CredentialsUtilities
- java.lang.Object
-
- org.jvnet.hudson.plugins.repositoryconnector.util.CredentialsUtilities
-
public class CredentialsUtilities extends Object
-
-
Constructor Summary
Constructors Constructor Description CredentialsUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
get
public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials get(String credentialsId, Item item)
-
get
public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials get(String credentialsId, Run<?,?> context)
-
getListBox
public static ListBoxModel getListBox(String credentialsId, Jenkins jenkins)
-
migrateToCredentialsProvider
public static Repository migrateToCredentialsProvider(Repository repository)
-
-