hudson.plugins.warnings
Class WarningsDescriptor

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.warnings.WarningsDescriptor
All Implemented Interfaces:
hudson.model.Saveable

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

Descriptor for the class WarningsPublisher. 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
WarningsDescriptor()
          Instantiates a new WarningsDescriptor.
 
Method Summary
 java.lang.String getDisplayName()
          
 java.lang.String getIconUrl()
          
 java.lang.String getPluginName()
          
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
          
 WarningsPublisher newInstance(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData)
          
 
Methods inherited from class hudson.plugins.analysis.core.PluginDescriptor
doCheckDefaultEncoding, doCheckExcludePattern, doCheckHeight, doCheckIncludePattern, doCheckPattern, doCheckThreshold, getHelpFile, getPluginResultUrlName, getPluginRoot
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, 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

WarningsDescriptor

public WarningsDescriptor()
Instantiates a new WarningsDescriptor.

Method Detail

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

getPluginName

public java.lang.String getPluginName()

Specified by:
getPluginName in class hudson.plugins.analysis.core.PluginDescriptor

getIconUrl

public java.lang.String getIconUrl()

Specified by:
getIconUrl in class hudson.plugins.analysis.core.PluginDescriptor

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)

Overrides:
isApplicable in class hudson.plugins.analysis.core.PluginDescriptor

newInstance

public WarningsPublisher newInstance(org.kohsuke.stapler.StaplerRequest request,
                                     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


Copyright © 2010. All Rights Reserved.