jenkins.plugin.assembla
Class AssemblaProjectProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.JobProperty<?>>
      extended by hudson.model.JobPropertyDescriptor
          extended by jenkins.plugin.assembla.AssemblaProjectProperty.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
AssemblaProjectProperty

public static final class AssemblaProjectProperty.DescriptorImpl
extends hudson.model.JobPropertyDescriptor


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
AssemblaProjectProperty.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doTestConnection(String url, String username, String password)
           
 hudson.util.FormValidation doUrlCheck(String value)
           
 String getDisplayName()
           
 AssemblaSite[] getSites()
           
 hudson.model.JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void setSites(AssemblaSite site)
           
 
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, isApplicable
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, 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

AssemblaProjectProperty.DescriptorImpl

public AssemblaProjectProperty.DescriptorImpl()
Method Detail

setSites

public void setSites(AssemblaSite site)

getSites

public AssemblaSite[] getSites()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.model.JobProperty<?>>

newInstance

public hudson.model.JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req,
                                               net.sf.json.JSONObject formData)
                                        throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.JobPropertyDescriptor
Throws:
hudson.model.Descriptor.FormException

configure

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

doUrlCheck

public hudson.util.FormValidation doUrlCheck(@QueryParameter
                                             String value)
                                      throws IOException,
                                             javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doTestConnection

public hudson.util.FormValidation doTestConnection(@QueryParameter(value="assembla.url")
                                                   String url,
                                                   @QueryParameter(value="assembla.username")
                                                   String username,
                                                   @QueryParameter(value="assembla.password")
                                                   String password)
                                            throws IOException,
                                                   javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2013. All Rights Reserved.