hudson.plugins.jira
Class JiraSite.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<JiraSite>
      extended by hudson.plugins.jira.JiraSite.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
JiraSite

@Extension
public static class JiraSite.DescriptorImpl
extends hudson.model.Descriptor<JiraSite>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
JiraSite.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doCheckUserPattern(String value)
           
 hudson.util.FormValidation doUrlCheck(String value)
          Checks if the JIRA URL is accessible and exists.
 hudson.util.FormValidation doValidate(String userName, String url, String password, String groupVisibility, String roleVisibility)
          Checks if the user name and password are valid.
 String getDisplayName()
           
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraSite.DescriptorImpl

public JiraSite.DescriptorImpl()
Method Detail

getDisplayName

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

doUrlCheck

public hudson.util.FormValidation doUrlCheck(@QueryParameter
                                             String value)
                                      throws IOException,
                                             javax.servlet.ServletException
Checks if the JIRA URL is accessible and exists.

Throws:
IOException
javax.servlet.ServletException

doCheckUserPattern

public hudson.util.FormValidation doCheckUserPattern(@QueryParameter
                                                     String value)
                                              throws IOException
Throws:
IOException

doValidate

public hudson.util.FormValidation doValidate(@QueryParameter
                                             String userName,
                                             @QueryParameter
                                             String url,
                                             @QueryParameter
                                             String password,
                                             @QueryParameter
                                             String groupVisibility,
                                             @QueryParameter
                                             String roleVisibility)
                                      throws IOException
Checks if the user name and password are valid.

Throws:
IOException


Copyright © 2004-2012 Hudson. All Rights Reserved.