public abstract class Binding<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> extends hudson.model.AbstractDescribableImpl<Binding<C>>
Modifier and Type | Class and Description |
---|---|
static interface |
Binding.Environment |
Modifier | Constructor and Description |
---|---|
protected |
Binding(String variable,
String credentialsId) |
Modifier and Type | Method and Description |
---|---|
abstract Binding.Environment |
bind(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected C |
getCredentials(hudson.model.Item owner) |
String |
getCredentialsId() |
String |
getVariable() |
protected abstract Class<C> |
type() |
public String getVariable()
public String getCredentialsId()
public abstract Binding.Environment bind(@Nonnull hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
IOException
InterruptedException
@Nonnull protected C getCredentials(@Nonnull hudson.model.Item owner) throws IOException
IOException
Copyright © 2004-2013. All Rights Reserved.