org.jvnet.jenkins.plugins.nodelabelparameter
Class LabelParameterValue

java.lang.Object
  extended by hudson.model.ParameterValue
      extended by org.jvnet.jenkins.plugins.nodelabelparameter.LabelParameterValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NodeParameterValue

public class LabelParameterValue
extends hudson.model.ParameterValue

Author:
domi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hudson.model.ParameterValue
name
 
Constructor Summary
LabelParameterValue(String name)
           
LabelParameterValue(String name, String label)
           
LabelParameterValue(String name, String description, String label)
           
 
Method Summary
 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()
           
 
Methods inherited from class hudson.model.ParameterValue
buildEnvVars, buildEnvVars, getDefinition, getDescription, getName, getShortDescription, isSensitive, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelParameterValue

public LabelParameterValue(String name)

LabelParameterValue

@DataBoundConstructor
public LabelParameterValue(String name,
                                                String label)
Parameters:
name -

LabelParameterValue

public LabelParameterValue(String name,
                           String description,
                           String label)
Parameters:
name -
description -
Method Detail

getAssignedLabel

public hudson.model.Label getAssignedLabel(hudson.model.queue.SubTask task)
Overrides:
getAssignedLabel in class hudson.model.ParameterValue

createVariableResolver

public hudson.util.VariableResolver<String> createVariableResolver(hudson.model.AbstractBuild<?,?> build)
Overrides:
createVariableResolver in class hudson.model.ParameterValue

toString

public String toString()
Overrides:
toString in class Object

getLabel

public String getLabel()
Returns:
the label

setLabel

public void setLabel(String label)
Parameters:
label - the label to set

createBuildWrapper

public hudson.tasks.BuildWrapper createBuildWrapper(hudson.model.AbstractBuild<?,?> build)
Overrides:
createBuildWrapper in class hudson.model.ParameterValue
See Also:
ParameterValue.createBuildWrapper(hudson.model.AbstractBuild)

equals

public boolean equals(Object o)
Overrides:
equals in class hudson.model.ParameterValue

hashCode

public int hashCode()
Overrides:
hashCode in class hudson.model.ParameterValue


Copyright © 2004-2012. All Rights Reserved.