org.jvnet.hudson.plugins.repositoryconnector
Class VersionParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
org.jvnet.hudson.plugins.repositoryconnector.VersionParameterDefinition
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable
public class VersionParameterDefinition
- extends hudson.model.SimpleParameterDefinition
- Author:
- mrumpf
- 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, getDefaultParameterValue, getDescription, getName, getType |
DESCRIPTOR
@Extension
public static final VersionParameterDefinition.DescriptorImpl DESCRIPTOR
VersionParameterDefinition
@DataBoundConstructor
public VersionParameterDefinition(String repoid,
String groupid,
String artifactid,
String description)
copyWithDefaultValue
public VersionParameterDefinition copyWithDefaultValue(hudson.model.ParameterValue defaultValue)
- Overrides:
copyWithDefaultValue
in class hudson.model.ParameterDefinition
getChoices
@Exported
public List<String> getChoices()
getArtifactid
@Exported
public String getArtifactid()
getRepoid
@Exported
public String getRepoid()
getGroupid
@Exported
public String getGroupid()
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
- Specified by:
createValue
in class hudson.model.ParameterDefinition
createValue
public hudson.model.ParameterValue createValue(String version)
- Specified by:
createValue
in class hudson.model.SimpleParameterDefinition
getDescriptor
public VersionParameterDefinition.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interface hudson.model.Describable<hudson.model.ParameterDefinition>
- Overrides:
getDescriptor
in class hudson.model.ParameterDefinition
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010-2014. All Rights Reserved.