hudson.plugins.pmd
Class PmdDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.pmd.util.PluginDescriptor
              extended by hudson.plugins.pmd.PmdDescriptor

public final class PmdDescriptor
extends PluginDescriptor

Descriptor for the class PmdPublisher. 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
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Method Summary
 java.lang.String getDisplayName()
          
protected  java.lang.String getPluginName()
          Returns the name of the plug-in.
 PmdPublisher newInstance(org.kohsuke.stapler.StaplerRequest request)
          
 
Methods inherited from class hudson.plugins.pmd.util.PluginDescriptor
doCheckPattern, doCheckThreshold, getHelpFile, isApplicable
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
configure, configure, convert, find, getConfigPage, getGlobalConfigPage, getViewPage, isInstance, 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
 

Method Detail

getDisplayName

public java.lang.String getDisplayName()

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

getPluginName

protected java.lang.String getPluginName()
Returns the name of the plug-in.

Specified by:
getPluginName in class PluginDescriptor
Returns:
the name of the plug-in

newInstance

public PmdPublisher newInstance(org.kohsuke.stapler.StaplerRequest request)
                         throws hudson.model.Descriptor.FormException

Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException


Copyright © 2008. All Rights Reserved.