org.jvnet.hudson.plugins.repositoryconnector
Class VersionParameterDefinition

java.lang.Object
  extended by hudson.model.ParameterDefinition
      extended by hudson.model.SimpleParameterDefinition
          extended by 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 Class Summary
static class VersionParameterDefinition.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
hudson.model.ParameterDefinition.ParameterDescriptor
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static VersionParameterDefinition.DescriptorImpl DESCRIPTOR
           
 
Fields inherited from class hudson.model.ParameterDefinition
LIST
 
Constructor Summary
VersionParameterDefinition(String repoid, String groupid, String artifactid, String description)
           
 
Method Summary
 VersionParameterDefinition copyWithDefaultValue(hudson.model.ParameterValue defaultValue)
           
 hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo)
           
 hudson.model.ParameterValue createValue(String version)
           
 String getArtifactid()
           
 List<String> getChoices()
           
 VersionParameterDefinition.DescriptorImpl getDescriptor()
           
 String getGroupid()
           
 String getRepoid()
           
 String toString()
           
 
Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValue
 
Methods inherited from class hudson.model.ParameterDefinition
all, getDefaultParameterValue, getDescription, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final VersionParameterDefinition.DescriptorImpl DESCRIPTOR
Constructor Detail

VersionParameterDefinition

@DataBoundConstructor
public VersionParameterDefinition(String repoid,
                                                       String groupid,
                                                       String artifactid,
                                                       String description)
Method Detail

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.