Class CertificateMultiBinding
java.lang.Object
hudson.model.AbstractDescribableImpl<MultiBinding<C>>
org.jenkinsci.plugins.credentialsbinding.MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
org.jenkinsci.plugins.credentialsbinding.impl.CertificateMultiBinding
- All Implemented Interfaces:
ExtensionPoint
,Describable<MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>>
public class CertificateMultiBinding
extends MultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.credentialsbinding.MultiBinding
MultiBinding.MultiEnvironment, MultiBinding.NullUnbinder, MultiBinding.Unbinder
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Sets up bindings for a build.void
setAliasVariable
(String aliasVariable) void
setPasswordVariable
(String passwordVariable) protected Class<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
type()
Type token.Defines keys expected to be set inMultiBinding.MultiEnvironment.getSecretValues()
, particularly any that might be sensitive.Methods inherited from class org.jenkinsci.plugins.credentialsbinding.MultiBinding
getCredentials, getCredentialsId, getDescriptor, variables
-
Constructor Details
-
CertificateMultiBinding
-
-
Method Details
-
getKeystoreVariable
-
getPasswordVariable
-
getAliasVariable
-
setPasswordVariable
-
setAliasVariable
-
type
Description copied from class:MultiBinding
Type token.- Specified by:
type
in classMultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
-
bind
public MultiBinding.MultiEnvironment bind(@NonNull Run<?, ?> build, @Nullable FilePath workspace, @Nullable Launcher launcher, @NonNull TaskListener listener) throws IOException, InterruptedExceptionDescription copied from class:MultiBinding
Sets up bindings for a build.- Specified by:
bind
in classMultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
- Parameters:
build
- The build. Cannot be nullworkspace
- The workspace - can be null ifBindingDescriptor.requiresWorkspace()
is false.launcher
- The launcher - can be null ifBindingDescriptor.requiresWorkspace()
is false.listener
- The task listener. Cannot be null.- Returns:
- The configured
MultiBinding.MultiEnvironment
- Throws:
IOException
InterruptedException
-
variables
Description copied from class:MultiBinding
Defines keys expected to be set inMultiBinding.MultiEnvironment.getSecretValues()
, particularly any that might be sensitive.- Overrides:
variables
in classMultiBinding<com.cloudbees.plugins.credentials.common.StandardCertificateCredentials>
-