com.kiuwan.plugins.kiuwanJenkinsPlugin
Class KiuwanRecorder.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.kiuwan.plugins.kiuwanJenkinsPlugin.KiuwanRecorder.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
KiuwanRecorder

@Extension
public static class KiuwanRecorder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


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
KiuwanRecorder.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckFailureThreshold(String failureThreshold, String unstableThreshold, String measure)
           
 hudson.util.FormValidation doCheckThresholds(String unstableThreshold, String failureThreshold, String measure)
           
 hudson.util.FormValidation doCheckTimeout(int timeout)
           
 hudson.util.FormValidation doCheckUnstableThreshold(String unstableThreshold, String failureThreshold, String measure)
           
 hudson.util.ListBoxModel doFillMeasureItems(String measure)
           
 hudson.util.FormValidation doTestConnection(String username, String password)
           
 String getDisplayName()
           
 String getPassword()
           
 String getUsername()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> item)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, 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

KiuwanRecorder.DescriptorImpl

public KiuwanRecorder.DescriptorImpl()
Method Detail

configure

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

getDisplayName

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

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> item)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

getUsername

public String getUsername()
Returns:
the username

getPassword

public String getPassword()
Returns:
the password

doTestConnection

public hudson.util.FormValidation doTestConnection(@QueryParameter
                                                   String username,
                                                   @QueryParameter
                                                   String password)

doFillMeasureItems

public hudson.util.ListBoxModel doFillMeasureItems(@QueryParameter(value="measure")
                                                   String measure)

doCheckTimeout

public hudson.util.FormValidation doCheckTimeout(@QueryParameter(value="timeout")
                                                 int timeout)

doCheckThresholds

public hudson.util.FormValidation doCheckThresholds(@QueryParameter(value="unstableThreshold")
                                                    String unstableThreshold,
                                                    @QueryParameter(value="failureThreshold")
                                                    String failureThreshold,
                                                    @QueryParameter(value="measure")
                                                    String measure)

doCheckUnstableThreshold

public hudson.util.FormValidation doCheckUnstableThreshold(@QueryParameter(value="unstableThreshold")
                                                           String unstableThreshold,
                                                           @QueryParameter(value="failureThreshold")
                                                           String failureThreshold,
                                                           @QueryParameter(value="measure")
                                                           String measure)

doCheckFailureThreshold

public hudson.util.FormValidation doCheckFailureThreshold(@QueryParameter(value="failureThreshold")
                                                          String failureThreshold,
                                                          @QueryParameter(value="unstableThreshold")
                                                          String unstableThreshold,
                                                          @QueryParameter(value="measure")
                                                          String measure)


Copyright © 2004-2013. All Rights Reserved.