hudson.plugins.bugzilla
Class BugzillaProjectProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.model.JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.bugzilla.BugzillaProjectProperty.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- BugzillaProjectProperty
public static final class BugzillaProjectProperty.DescriptorImpl
- extends hudson.model.JobPropertyDescriptor
Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
Fields inherited from class hudson.model.Descriptor |
clazz |
Fields inherited from interface hudson.model.Saveable |
NOOP |
Methods inherited from class hudson.model.JobPropertyDescriptor |
all, getPropertyDescriptors |
Methods inherited from class hudson.model.Descriptor |
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, 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 |
BugzillaProjectProperty.DescriptorImpl
public BugzillaProjectProperty.DescriptorImpl()
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
- Overrides:
isApplicable
in class hudson.model.JobPropertyDescriptor
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
newInstance
public BugzillaProjectProperty 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<?>>
getBaseUrl
public java.lang.String getBaseUrl()
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
getUseToolTips
public boolean getUseToolTips()
getRegex
public java.lang.String getRegex()
getBugzillaSession
public BugzillaSession getBugzillaSession()
doRegexCheck
public hudson.util.FormValidation doRegexCheck(@QueryParameter
java.lang.String value)
- Checks if the Bugzilla URL is accessible and exists.
doUrlCheck
public hudson.util.FormValidation doUrlCheck(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Checks if the Bugzilla URL is accessible and exists.
- Throws:
java.io.IOException
javax.servlet.ServletException
doLoginCheck
public hudson.util.FormValidation doLoginCheck(@QueryParameter
java.lang.String url,
@QueryParameter
java.lang.String user,
@QueryParameter
java.lang.String pass)
throws java.io.IOException
- Checks if the user name and password are valid.
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.