hudson.plugins.violations
Class ViolationsPublisher.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.Publisher>
      extended by hudson.plugins.violations.ViolationsPublisher.DescriptorImpl
Enclosing class:
ViolationsPublisher

public static final class ViolationsPublisher.DescriptorImpl
extends hudson.model.Descriptor<hudson.tasks.Publisher>

A class for the plugin configuration screen in hudson.


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
 ViolationsConfig getConfig()
          Return a default config to be used for configuration screen.
 java.lang.String getDisplayName()
          Get the name to display in the configuration screen for projects.
 java.lang.String getHelpFile()
          Get the help file for the configuration screen.
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req)
          Create a new instance of the ViolationsPublisher.
 
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()
Get the name to display in the configuration screen for projects.

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

getHelpFile

public java.lang.String getHelpFile()
Get the help file for the configuration screen.

Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>
Returns:
the url of the help file.

newInstance

public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req)
Create a new instance of the ViolationsPublisher. This gets configured from request parameters in 'req'.

Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Parameters:
req - the reqest parameters from stapler.
Returns:
a new ViolationsPublisher.

getConfig

public ViolationsConfig getConfig()
Return a default config to be used for configuration screen.

Returns:
a default config.


Copyright © 2008. All Rights Reserved.