hudson.plugins.bugzilla
Class BugzillaProjectProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.model.JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.bugzilla.BugzillaProjectProperty.DescriptorImpl
- 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 |
| Fields inherited from class hudson.model.Descriptor |
clazz |
|
Method Summary |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req)
|
void |
doLoginCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Checks if the user name and password are valid. |
void |
doUrlCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Checks if the Bugzilla URL is accessible and exists. |
java.lang.String |
getBaseUrl()
|
BugzillaSession |
getBugzillaSession()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getPassword()
|
java.lang.String |
getUsername()
|
boolean |
isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
|
hudson.model.JobProperty<?> |
newInstance(org.kohsuke.stapler.StaplerRequest req)
|
void |
save()
|
| Methods inherited from class hudson.model.JobPropertyDescriptor |
getPropertyDescriptors, newInstance |
| Methods inherited from class hudson.model.Descriptor |
configure, convert, find, getConfigPage, getGlobalConfigPage, getHelpFile, getViewPage, isInstance, load, newInstancesFromHeteroList, 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)
- Specified by:
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 hudson.model.JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
- Throws:
hudson.model.Descriptor.FormException
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req)
- 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()
getBugzillaSession
public BugzillaSession getBugzillaSession()
doUrlCheck
public void doUrlCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
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 void doLoginCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Checks if the user name and password are valid.
- Throws:
java.io.IOException
javax.servlet.ServletException
save
public void save()
- Overrides:
save in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
Copyright © 2008. All Rights Reserved.