public abstract class CredentialsBindingHandler<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> extends Object implements hudson.ExtensionPoint
Binding
handler for use in environment {}
Modifier and Type | Class and Description |
---|---|
static class |
CredentialsBindingHandler.EnvVarResolver |
static class |
CredentialsBindingHandler.FileCredentialsHandler |
static class |
CredentialsBindingHandler.StringCredentialsHandler |
static class |
CredentialsBindingHandler.UsernamePasswordHandler |
Constructor and Description |
---|
CredentialsBindingHandler() |
Modifier and Type | Method and Description |
---|---|
static hudson.ExtensionList<CredentialsBindingHandler> |
all() |
static CredentialsBindingHandler |
forCredential(com.cloudbees.plugins.credentials.common.StandardCredentials c) |
static CredentialsBindingHandler |
forId(String id,
hudson.model.Run context) |
abstract List<Map<String,Object>> |
getWithCredentialsParameters(String credentialsId) |
boolean |
handles(Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> c) |
boolean |
handles(com.cloudbees.plugins.credentials.common.StandardCredentials c) |
static Set<String> |
supportedTypeNames() |
static Set<Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials>> |
supportedTypes() |
List<org.jenkinsci.plugins.credentialsbinding.MultiBinding<C>> |
toBindings(String varName,
String credentialsId) |
abstract Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> |
type() |
public boolean handles(Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> c)
public boolean handles(com.cloudbees.plugins.credentials.common.StandardCredentials c)
@Nonnull public List<org.jenkinsci.plugins.credentialsbinding.MultiBinding<C>> toBindings(String varName, String credentialsId)
@Nonnull public abstract Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> type()
@Nonnull public abstract List<Map<String,Object>> getWithCredentialsParameters(String credentialsId)
@Nonnull public static hudson.ExtensionList<CredentialsBindingHandler> all()
@Nonnull public static Set<Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials>> supportedTypes()
@CheckForNull public static CredentialsBindingHandler forCredential(com.cloudbees.plugins.credentials.common.StandardCredentials c)
@Nonnull public static CredentialsBindingHandler forId(String id, hudson.model.Run context) throws org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException
org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException
Copyright © 2016–2017. All rights reserved.