org.jenkinsci.plugins.jenkinsreviewbot
Class ReviewboardDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardDescriptor
All Implemented Interfaces:
hudson.model.Saveable

public class ReviewboardDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

User: ymeymann Date: 6/27/13 3:55 PM


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
ReviewboardDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doTestConnection(String reviewboardURL, String reviewboardUsername, String reviewboardPassword)
           
 boolean getDisableAutoApply()
           
 boolean getDisableRepoCache()
           
 String getDisplayName()
           
 String getReviewboardPassword()
           
 String getReviewboardURL()
           
 String getReviewboardUsername()
           
 boolean isApplicable(Class clazz)
           
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
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

ReviewboardDescriptor

public ReviewboardDescriptor()
Method Detail

getDisplayName

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

isApplicable

public boolean isApplicable(Class clazz)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

newInstance

public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req,
                                          net.sf.json.JSONObject formData)
                                   throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

getReviewboardURL

public String getReviewboardURL()

getReviewboardUsername

public String getReviewboardUsername()

getReviewboardPassword

public String getReviewboardPassword()

getDisableRepoCache

public boolean getDisableRepoCache()

getDisableAutoApply

public boolean getDisableAutoApply()

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

doTestConnection

public hudson.util.FormValidation doTestConnection(@QueryParameter(value="reviewboardURL")
                                                   String reviewboardURL,
                                                   @QueryParameter(value="reviewboardUsername")
                                                   String reviewboardUsername,
                                                   @QueryParameter(value="reviewboardPassword")
                                                   String reviewboardPassword)
                                            throws IOException,
                                                   javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2015. All Rights Reserved.