public class UsernamePasswordMultiBinding extends MultiBinding<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
| Modifier and Type | Class and Description |
|---|---|
static class |
UsernamePasswordMultiBinding.DescriptorImpl |
MultiBinding.MultiEnvironment, MultiBinding.NullUnbinder, MultiBinding.Unbinder| Constructor and Description |
|---|
UsernamePasswordMultiBinding(String usernameVariable,
String passwordVariable,
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 |
getPasswordVariable() |
String |
getUsernameVariable() |
protected Class<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> |
type()
Type token.
|
Set<String> |
variables()
Defines keys expected to be set in
MultiBinding.MultiEnvironment.getValues(), particularly any that might be sensitive. |
getCredentials, getCredentialsId, getDescriptorpublic String getUsernameVariable()
public String getPasswordVariable()
protected Class<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> type()
MultiBindingtype in class MultiBinding<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>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.StandardUsernamePasswordCredentials>IOExceptionInterruptedExceptionpublic Set<String> variables()
MultiBindingMultiBinding.MultiEnvironment.getValues(), particularly any that might be sensitive.variables in class MultiBinding<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>Copyright © 2016. All rights reserved.