hudson.plugins.dry
Class DryDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.analysis.core.PluginDescriptor
              extended by hudson.plugins.dry.DryDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension(ordinal=100.0)
public final class DryDescriptor
extends hudson.plugins.analysis.core.PluginDescriptor

Descriptor for the class DryPublisher. 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.plugins.analysis.core.PluginDescriptor
RESULT_URL_SUFFIX
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
DryDescriptor()
          Creates a new instance of DryDescriptor.
 
Method Summary
 hudson.util.FormValidation doCheckHighThreshold(String highThreshold, String normalThreshold)
          Performs on-the-fly validation on threshold for high warnings.
 hudson.util.FormValidation doCheckNormalThreshold(String highThreshold, String normalThreshold)
          Performs on-the-fly validation on threshold for normal warnings.
 String getDisplayName()
           
 String getIconUrl()
           
 String getPluginName()
           
 String getSummaryIconUrl()
           
 
Methods inherited from class hudson.plugins.analysis.core.PluginDescriptor
convertHierarchicalFormData, createResultUrlName, doCheckDefaultEncoding, doCheckHeight, doCheckPattern, doCheckThreshold, getHelpFile, getPluginResultUrlName, getPluginRoot, isApplicable, isPluginInstalled, newInstance
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, 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

DryDescriptor

public DryDescriptor()
Creates a new instance of DryDescriptor.

Method Detail

getDisplayName

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

getPluginName

public String getPluginName()
Specified by:
getPluginName in class hudson.plugins.analysis.core.PluginDescriptor

getIconUrl

public String getIconUrl()
Specified by:
getIconUrl in class hudson.plugins.analysis.core.PluginDescriptor

getSummaryIconUrl

public String getSummaryIconUrl()
Overrides:
getSummaryIconUrl in class hudson.plugins.analysis.core.PluginDescriptor

doCheckHighThreshold

public hudson.util.FormValidation doCheckHighThreshold(@QueryParameter
                                                       String highThreshold,
                                                       @QueryParameter
                                                       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
                                                         String highThreshold,
                                                         @QueryParameter
                                                         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 © 2004-2013 Hudson. All Rights Reserved.