public class LabelParameterValue
extends hudson.model.ParameterValue
| Constructor and Description |
|---|
LabelParameterValue(String name) |
LabelParameterValue(String name,
String label) |
LabelParameterValue(String name,
String description,
String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
hudson.EnvVars env)
Exposes the name/value as an environment variable.
|
hudson.tasks.BuildWrapper |
createBuildWrapper(hudson.model.AbstractBuild<?,?> build) |
hudson.util.VariableResolver<String> |
createVariableResolver(hudson.model.AbstractBuild<?,?> build) |
boolean |
equals(Object o) |
hudson.model.Label |
getAssignedLabel(hudson.model.queue.SubTask task) |
String |
getLabel() |
int |
hashCode() |
void |
setLabel(String label) |
String |
toString() |
public LabelParameterValue(String name)
@DataBoundConstructor public LabelParameterValue(String name, String label)
name - public void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
hudson.EnvVars env)
buildEnvVars in class hudson.model.ParameterValuepublic hudson.model.Label getAssignedLabel(hudson.model.queue.SubTask task)
getAssignedLabel in class hudson.model.ParameterValuepublic hudson.util.VariableResolver<String> createVariableResolver(hudson.model.AbstractBuild<?,?> build)
createVariableResolver in class hudson.model.ParameterValuepublic String getLabel()
public void setLabel(String label)
label - the label to setpublic hudson.tasks.BuildWrapper createBuildWrapper(hudson.model.AbstractBuild<?,?> build)
createBuildWrapper in class hudson.model.ParameterValueParameterValue.createBuildWrapper(hudson.model.AbstractBuild)public boolean equals(Object o)
equals in class hudson.model.ParameterValuepublic int hashCode()
hashCode in class hudson.model.ParameterValueCopyright © 2004-2014 Hudson. All Rights Reserved.