org.jvnet.jenkins.plugins.nodelabelparameter
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
| Fields inherited from class hudson.model.ParameterValue |
name |
| Methods inherited from class hudson.model.ParameterValue |
buildEnvVars, getDefinition, getDescription, getName, getShortDescription, isSensitive, setDescription |
NodeParameterValue
@DataBoundConstructor
public NodeParameterValue(String name,
List<String> labels,
boolean ignoreOfflineNodes)
- creates a new node parameter
- Parameters:
name - the name of the parameterlabels - the node labels to trigger one build after the other withignoreOfflineNodes - if the job should also be triggered on nodes which currently are not available for execution.
NodeParameterValue
public NodeParameterValue(String name,
String description,
String label)
toString
public String toString()
- Overrides:
toString in class LabelParameterValue
getNextLabels
public List<String> getNextLabels()
- Gets the labels to be used to trigger the next builds with
- Returns:
- the labels
createBuildWrapper
public hudson.tasks.BuildWrapper createBuildWrapper(hudson.model.AbstractBuild<?,?> build)
- Overrides:
createBuildWrapper in class LabelParameterValue
- See Also:
ParameterValue.createBuildWrapper(hudson.model.AbstractBuild)
equals
public boolean equals(Object o)
- Overrides:
equals in class LabelParameterValue
hashCode
public int hashCode()
- Overrides:
hashCode in class LabelParameterValue
Copyright © 2004-2013. All Rights Reserved.