hudson.plugins.copyartifact
Class BuildSelectorParameter
java.lang.Object
hudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
hudson.plugins.copyartifact.BuildSelectorParameter
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable
public class BuildSelectorParameter
- extends hudson.model.SimpleParameterDefinition
Build parameter to select a promotion level from the list of configured levels.
- Author:
- Alan Harder
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class hudson.model.ParameterDefinition |
hudson.model.ParameterDefinition.ParameterDescriptor |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.ParameterDefinition |
LIST |
| Methods inherited from class hudson.model.SimpleParameterDefinition |
createValue, createValue |
| Methods inherited from class hudson.model.ParameterDefinition |
all, equals, getDescription, getDescriptor, getName, getType, hashCode |
BuildSelectorParameter
@DataBoundConstructor
public BuildSelectorParameter(String name,
BuildSelector defaultSelector,
String description)
getDefaultSelector
public BuildSelector getDefaultSelector()
getDefaultParameterValue
public hudson.model.ParameterValue getDefaultParameterValue()
- Overrides:
getDefaultParameterValue in class hudson.model.ParameterDefinition
createValue
public hudson.model.ParameterValue createValue(String value)
- Specified by:
createValue in class hudson.model.SimpleParameterDefinition
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
- Specified by:
createValue in class hudson.model.ParameterDefinition
getSelectorFromXml
public static BuildSelector getSelectorFromXml(String xml)
- Convert xml fragment into a BuildSelector object.
- Throws:
XStreamException - or ClassCastException if input is invalid
Copyright © 2004-2012 Hudson. All Rights Reserved.