public class CertificateMultiBinding extends MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateMultiBinding.DescriptorImpl |
MultiBinding.MultiEnvironment, MultiBinding.NullUnbinder, MultiBinding.Unbinder| Constructor and Description |
|---|
CertificateMultiBinding(String keystoreVariable,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
MultiBinding.MultiEnvironment |
bind(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Sets up bindings for a build.
|
String |
getAliasVariable() |
String |
getKeystoreVariable() |
String |
getPasswordVariable() |
void |
setAliasVariable(String aliasVariable) |
void |
setPasswordVariable(String passwordVariable) |
protected Class<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials> |
type()
Type token.
|
Set<String> |
variables()
Defines keys expected to be set in
MultiBinding.MultiEnvironment.getValues(), particularly any that might be sensitive. |
getCredentials, getCredentialsId, getDescriptor, getPatternStringForSecrets@DataBoundConstructor @CheckForNull public CertificateMultiBinding(@Nonnull String keystoreVariable, String credentialsId)
public String getKeystoreVariable()
public String getPasswordVariable()
public String getAliasVariable()
@DataBoundSetter public void setPasswordVariable(String passwordVariable)
@DataBoundSetter public void setAliasVariable(String aliasVariable)
protected Class<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials> type()
MultiBindingtype in class MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>public MultiBinding.MultiEnvironment bind(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
MultiBindingbind in class MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>build - The build. Cannot be nullworkspace - The workspace - can be null if BindingDescriptor.requiresWorkspace() is false.launcher - The launcher - can be null if BindingDescriptor.requiresWorkspace() is false.listener - The task listener. Cannot be null.MultiBinding.MultiEnvironmentIOExceptionInterruptedExceptionpublic Set<String> variables()
MultiBindingMultiBinding.MultiEnvironment.getValues(), particularly any that might be sensitive.variables in class MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>Copyright © 2016–2017. All rights reserved.