org.jvnet.hudson.plugins.repositoryconnector
Class VersionParameterDefinition.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.ParameterDefinition>
      extended by hudson.model.ParameterDefinition.ParameterDescriptor
          extended by org.jvnet.hudson.plugins.repositoryconnector.VersionParameterDefinition.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
VersionParameterDefinition

public static class VersionParameterDefinition.DescriptorImpl
extends hudson.model.ParameterDefinition.ParameterDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
VersionParameterDefinition.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckArtifactid(String artifactid, String groupid, String repoid)
           
 hudson.util.FormValidation doCheckBaseurl(String baseurl)
           
 hudson.util.FormValidation doCheckGroupid(String groupid, String artifactid, String repoid)
           
 hudson.util.FormValidation doCheckPassword(String password, String username)
           
 hudson.util.FormValidation doCheckRepoid(String repoid)
           
 hudson.util.FormValidation doTestConnection(String baseurl, String username, String password)
           
 String getDisplayName()
           
 Repository getRepo(String id)
           
 Collection<Repository> getRepos()
           
 
Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionParameterDefinition.DescriptorImpl

public VersionParameterDefinition.DescriptorImpl()
Method Detail

getRepo

public Repository getRepo(String id)

getRepos

public Collection<Repository> getRepos()

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
Overrides:
configure in class hudson.model.Descriptor<hudson.model.ParameterDefinition>

doCheckGroupid

public hudson.util.FormValidation doCheckGroupid(@QueryParameter
                                                 String groupid,
                                                 @QueryParameter
                                                 String artifactid,
                                                 @QueryParameter
                                                 String repoid)
                                          throws IOException
Throws:
IOException

doCheckArtifactid

public hudson.util.FormValidation doCheckArtifactid(@QueryParameter
                                                    String artifactid,
                                                    @QueryParameter
                                                    String groupid,
                                                    @QueryParameter
                                                    String repoid)
                                             throws IOException
Throws:
IOException

doCheckRepoid

public hudson.util.FormValidation doCheckRepoid(@QueryParameter
                                                String repoid)
                                         throws IOException
Throws:
IOException

doCheckBaseurl

public hudson.util.FormValidation doCheckBaseurl(@QueryParameter
                                                 String baseurl)
                                          throws IOException
Throws:
IOException

doCheckPassword

public hudson.util.FormValidation doCheckPassword(@QueryParameter
                                                  String password,
                                                  @QueryParameter
                                                  String username)
                                           throws IOException
Throws:
IOException

doTestConnection

public hudson.util.FormValidation doTestConnection(@QueryParameter
                                                   String baseurl,
                                                   @QueryParameter
                                                   String username,
                                                   @QueryParameter
                                                   String password)
                                            throws IOException,
                                                   javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

getDisplayName

public String getDisplayName()
Overrides:
getDisplayName in class hudson.model.ParameterDefinition.ParameterDescriptor


Copyright © 2010-2014. All Rights Reserved.