jenkins.plugins.fogbugz
Class FogbugzProjectProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.JobProperty<?>>
      extended by hudson.model.JobPropertyDescriptor
          extended by jenkins.plugins.fogbugz.FogbugzProjectProperty.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
FogbugzProjectProperty

public static final class FogbugzProjectProperty.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
FogbugzProjectProperty.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doRegexCheck(String value)
           
 hudson.util.FormValidation doUrlCheck(String value)
          Checks if the FogBugz URL is accessible and exists.
 String getDisplayName()
           
 String getRegex()
           
 String getUrl()
           
 boolean isApplicable(Class<? extends hudson.model.Job> jobType)
           
 FogbugzProjectProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, 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, 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

FogbugzProjectProperty.DescriptorImpl

public FogbugzProjectProperty.DescriptorImpl()
Method Detail

isApplicable

public boolean isApplicable(Class<? extends hudson.model.Job> jobType)
Overrides:
isApplicable in class hudson.model.JobPropertyDescriptor

getDisplayName

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

newInstance

public FogbugzProjectProperty 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<?>>

getUrl

public String getUrl()

getRegex

public String getRegex()

doRegexCheck

public hudson.util.FormValidation doRegexCheck(@QueryParameter(fixEmpty=true)
                                               String value)

doUrlCheck

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

Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2014. All Rights Reserved.