hudson.plugins.checkstyle.util
Class ReporterDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.maven.MavenReporter>
      extended by hudson.maven.MavenReporterDescriptor
          extended by hudson.plugins.checkstyle.util.ReporterDescriptor
Direct Known Subclasses:
CheckStyleReporterDescriptor

public abstract class ReporterDescriptor
extends hudson.maven.MavenReporterDescriptor

A maven reporter descriptor that uses a publisher descriptor as delegate to obtain the relevant configuration data.

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
ALL, clazz
 
Constructor Summary
ReporterDescriptor(java.lang.Class<? extends hudson.maven.MavenReporter> clazz, PluginDescriptor pluginDescriptor)
          Creates a new instance of ReporterDescriptor.
 
Method Summary
 java.lang.String getDisplayName()
          
 java.lang.String getHelpFile()
          
 PluginDescriptor getPublisherDescriptor()
          Gets the publisher descriptor.
 
Methods inherited from class hudson.maven.MavenReporterDescriptor
hasConfigScreen, newAutoInstance, newInstance
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getJsonSafeClassName, 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
 

Constructor Detail

ReporterDescriptor

public ReporterDescriptor(java.lang.Class<? extends hudson.maven.MavenReporter> clazz,
                          PluginDescriptor pluginDescriptor)
Creates a new instance of ReporterDescriptor.

Parameters:
clazz - class of the reporter
pluginDescriptor - the plug-in descriptor of the publisher
Method Detail

getDisplayName

public final java.lang.String getDisplayName()

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.maven.MavenReporter>

getHelpFile

public final java.lang.String getHelpFile()

Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.maven.MavenReporter>

getPublisherDescriptor

public final PluginDescriptor getPublisherDescriptor()
Gets the publisher descriptor.

Returns:
the publisher descriptor


Copyright © 2008. All Rights Reserved.