hudson.plugins.mantis
Class MantisProjectProperty.DescriptorImpl

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

public static final class MantisProjectProperty.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
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
MantisProjectProperty.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckLogin(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res)
           
 hudson.util.FormValidation doCheckPattern(hudson.model.AbstractProject<?,?> project, java.lang.String pattern)
           
 java.lang.String getDisplayName()
           
 MantisSite.MantisVersion[] getMantisVersions()
           
 MantisSite[] getSites()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
           
 hudson.model.JobProperty<?> 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
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, 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

MantisProjectProperty.DescriptorImpl

public MantisProjectProperty.DescriptorImpl()
Method Detail

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

getSites

public MantisSite[] getSites()

getMantisVersions

public MantisSite.MantisVersion[] getMantisVersions()

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

doCheckLogin

public hudson.util.FormValidation doCheckLogin(org.kohsuke.stapler.StaplerRequest req,
                                               org.kohsuke.stapler.StaplerResponse res)
                                        throws java.io.IOException,
                                               javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doCheckPattern

public hudson.util.FormValidation doCheckPattern(@AncestorInPath
                                                 hudson.model.AbstractProject<?,?> project,
                                                 @QueryParameter
                                                 java.lang.String pattern)
                                          throws java.io.IOException,
                                                 javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.