Class NodeParameterValue
- java.lang.Object
-
- hudson.model.ParameterValue
-
- org.jvnet.jenkins.plugins.nodelabelparameter.LabelParameterValue
-
- 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
Constructors Constructor Description NodeParameterValue(String name, String description, String label)
NodeParameterValue(String name, List<String> labels, NodeEligibility nodeEligibility)
creates a new node parameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
String
toString()
-
Methods inherited from class org.jvnet.jenkins.plugins.nodelabelparameter.LabelParameterValue
addBadgeToBuild, buildEnvironment, createBuildWrapper, createVariableResolver, getAssignedLabel, getLabel, getNextLabels, setLabel
-
Methods inherited from class hudson.model.ParameterValue
buildEnvVars, buildEnvVars, getDefinition, getDescription, getFormattedDescription, getName, getShortDescription, getValue, isSensitive, setDescription
-
-
-
-
Constructor Detail
-
NodeParameterValue
@DataBoundConstructor public NodeParameterValue(String name, List<String> labels, NodeEligibility nodeEligibility)
creates a new node parameter- Parameters:
name
- the name of the parameterlabels
- the node labels to trigger one build after the other withnodeEligibility
- defines if a node should be ignored at execution or not.
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classLabelParameterValue
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classLabelParameterValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classLabelParameterValue
-
-