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
 String label
           
 
Fields inherited from class hudson.model.ParameterValue
name
 
Constructor Summary
LabelParameterValue(String name, String label)
           
LabelParameterValue(String name, String description, String label)
           
 
Method Summary
 hudson.util.VariableResolver<String> createVariableResolver(hudson.model.AbstractBuild<?,?> build)
           
 hudson.model.Label getAssignedLabel(hudson.model.queue.SubTask task)
           
 String toString()
           
 
Methods inherited from class hudson.model.ParameterValue
buildEnvVars, buildEnvVars, createBuildWrapper, equals, getDefinition, getDescription, getName, getShortDescription, hashCode, isSensitive, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

label

@Exported(visibility=3)
public final String label
Constructor Detail

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


Copyright © 2004-2011. All Rights Reserved.