public final class CredentialsHelper extends Object
Constructor and Description |
---|
CredentialsHelper() |
Modifier and Type | Method and Description |
---|---|
static hudson.util.ListBoxModel |
getCredentials(Class type) |
static org.jenkinsci.plugins.plaincredentials.StringCredentials |
lookupStringCredentials(String credentialsId) |
static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
lookupSystemCredentials(String credentialsId) |
static <C extends com.cloudbees.plugins.credentials.Credentials> |
lookupSystemCredentials(String credentialsId,
Class<C> type) |
static hudson.util.Secret |
lookupTokenSecret(String credentialsId) |
public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials lookupSystemCredentials(String credentialsId)
public static <C extends com.cloudbees.plugins.credentials.Credentials> C lookupSystemCredentials(String credentialsId, Class<C> type)
public static org.jenkinsci.plugins.plaincredentials.StringCredentials lookupStringCredentials(String credentialsId)
public static hudson.util.Secret lookupTokenSecret(String credentialsId)
public static hudson.util.ListBoxModel getCredentials(Class type)
Copyright © 2016–2024. All rights reserved.