C - a kind of credentialspublic abstract class Binding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> extends MultiBinding<C>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Binding.Environment
Deprecated.
|
protected static class |
Binding.SingleEnvironment
|
MultiBinding.MultiEnvironment, MultiBinding.NullUnbinder, MultiBinding.Unbinder| Modifier | Constructor and Description |
|---|---|
protected |
Binding(String variable,
String credentialsId)
For use with
DataBoundConstructor. |
| Modifier and Type | Method and Description |
|---|---|
Binding.Environment |
bind(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Deprecated.
|
MultiBinding.MultiEnvironment |
bind(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Sets up bindings for a build.
|
Binding.SingleEnvironment |
bindSingle(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Sets up bindings for a build.
|
protected C |
getCredentials(hudson.model.AbstractBuild<?,?> build)
Deprecated.
|
String |
getVariable()
Environment variable name.
|
Set<String> |
variables()
Defines keys expected to be set in
MultiBinding.MultiEnvironment.getValues(), particularly any that might be sensitive. |
getCredentials, getCredentialsId, getDescriptor, typepublic String getVariable()
@Deprecated public Binding.Environment bind(@Nonnull hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic Binding.SingleEnvironment bindSingle(@Nonnull hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic final MultiBinding.MultiEnvironment bind(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
MultiBindingbind in class MultiBinding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>IOExceptionInterruptedExceptionpublic final Set<String> variables()
MultiBindingMultiBinding.MultiEnvironment.getValues(), particularly any that might be sensitive.variables in class MultiBinding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>@Deprecated @Nonnull protected final C getCredentials(@Nonnull hudson.model.AbstractBuild<?,?> build) throws IOException
IOExceptionCopyright © 2016. All rights reserved.