hudson.plugins.dry
Class DryReporterDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.maven.MavenReporter>
      extended by hudson.maven.MavenReporterDescriptor
          extended by hudson.plugins.analysis.core.ReporterDescriptor
              extended by hudson.plugins.dry.DryReporterDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension(ordinal=100.0)
public class DryReporterDescriptor
extends hudson.plugins.analysis.core.ReporterDescriptor

Descriptor for the class DryReporter. Used as a singleton. The class is marked as public so that it can be accessed from views.

Author:
Ulli Hafner

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
DryReporterDescriptor()
          Creates a new instance of DryReporterDescriptor.
 
Method Summary
 hudson.util.FormValidation doCheckHighThreshold(java.lang.String highThreshold, java.lang.String normalThreshold)
          Performs on-the-fly validation on threshold for high warnings.
 hudson.util.FormValidation doCheckNormalThreshold(java.lang.String highThreshold, java.lang.String normalThreshold)
          Performs on-the-fly validation on threshold for normal warnings.
 hudson.maven.MavenReporter newInstance(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData)
          
 
Methods inherited from class hudson.plugins.analysis.core.ReporterDescriptor
doCheckHeight, doCheckThreshold, getDisplayName, getHelpFile, getPublisherDescriptor
 
Methods inherited from class hudson.maven.MavenReporterDescriptor
all, hasConfigScreen, newAutoInstance, newInstance
 
Methods inherited from class hudson.model.Descriptor
configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, 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

DryReporterDescriptor

public DryReporterDescriptor()
Creates a new instance of DryReporterDescriptor.

Method Detail

newInstance

public hudson.maven.MavenReporter newInstance(org.kohsuke.stapler.StaplerRequest request,
                                              net.sf.json.JSONObject formData)
                                       throws hudson.model.Descriptor.FormException

Overrides:
newInstance in class hudson.model.Descriptor<hudson.maven.MavenReporter>
Throws:
hudson.model.Descriptor.FormException

doCheckHighThreshold

public hudson.util.FormValidation doCheckHighThreshold(@QueryParameter
                                                       java.lang.String highThreshold,
                                                       @QueryParameter
                                                       java.lang.String normalThreshold)
Performs on-the-fly validation on threshold for high warnings.

Parameters:
highThreshold - the threshold for high warnings
normalThreshold - the threshold for normal warnings
Returns:
the validation result

doCheckNormalThreshold

public hudson.util.FormValidation doCheckNormalThreshold(@QueryParameter
                                                         java.lang.String highThreshold,
                                                         @QueryParameter
                                                         java.lang.String normalThreshold)
Performs on-the-fly validation on threshold for normal warnings.

Parameters:
highThreshold - the threshold for high warnings
normalThreshold - the threshold for normal warnings
Returns:
the validation result


Copyright © 2010. All Rights Reserved.