public class UsernamePasswordBinding extends Binding<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
| Modifier and Type | Class and Description |
|---|---|
static class |
UsernamePasswordBinding.DescriptorImpl |
Binding.Environment, Binding.SingleEnvironmentMultiBinding.MultiEnvironment, MultiBinding.NullUnbinder, MultiBinding.Unbinder| Constructor and Description |
|---|
UsernamePasswordBinding(String variable,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
Binding.SingleEnvironment |
bindSingle(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Sets up bindings for a build.
|
protected Class<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> |
type()
Type token.
|
bind, bind, getCredentials, getVariable, variablesgetCredentials, getCredentialsId, getDescriptorprotected Class<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> type()
MultiBindingtype in class MultiBinding<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>public Binding.SingleEnvironment bindSingle(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
BindingbindSingle in class Binding<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>IOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.