org.jvnet.jenkins.plugins.nodelabelparameter
Class NodeParameterValue

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

public class NodeParameterValue
extends LabelParameterValue

Author:
Dominik Bartholdi (imod)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jvnet.jenkins.plugins.nodelabelparameter.LabelParameterValue
nextLabels
 
Fields inherited from class hudson.model.ParameterValue
name
 
Constructor Summary
NodeParameterValue(String name, List<String> labels, NodeEligibility nodeEligibility)
          creates a new node parameter
NodeParameterValue(String name, String description, String label)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jvnet.jenkins.plugins.nodelabelparameter.LabelParameterValue
addBadgeToBuild, buildEnvVars, createBuildWrapper, createVariableResolver, getAssignedLabel, getLabel, getNextLabels, setLabel
 
Methods inherited from class hudson.model.ParameterValue
buildEnvVars, getDefinition, getDescription, getName, getShortDescription, isSensitive, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeParameterValue

@DataBoundConstructor
public NodeParameterValue(String name,
                                               List<String> labels,
                                               NodeEligibility nodeEligibility)
creates a new node parameter

Parameters:
name - the name of the parameter
labels - the node labels to trigger one build after the other with
nodeEligibility - defines if a node should be ignored at execution or not.

NodeParameterValue

public NodeParameterValue(String name,
                          String description,
                          String label)
Method Detail

toString

public String toString()
Overrides:
toString in class LabelParameterValue

equals

public boolean equals(Object o)
Overrides:
equals in class LabelParameterValue

hashCode

public int hashCode()
Overrides:
hashCode in class LabelParameterValue


Copyright © 2004-2014. All Rights Reserved.