hudson.maven.reporters
Class MavenJavadocArchiver.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<MavenReporter>
      extended by hudson.maven.MavenReporterDescriptor
          extended by hudson.maven.reporters.MavenJavadocArchiver.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
MavenJavadocArchiver

@Extension
public static final class MavenJavadocArchiver.DescriptorImpl
extends MavenReporterDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
MavenJavadocArchiver.DescriptorImpl()
           
 
Method Summary
 String getDisplayName()
          Human readable name of this kind of configurable object.
 MavenJavadocArchiver newAutoInstance(MavenModule module)
          Returns an instance used for automatic MavenReporter activation.
 
Methods inherited from class hudson.maven.MavenReporterDescriptor
all, hasConfigScreen, newInstance
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenJavadocArchiver.DescriptorImpl

public MavenJavadocArchiver.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Description copied from class: Descriptor
Human readable name of this kind of configurable object.

Specified by:
getDisplayName in class Descriptor<MavenReporter>

newAutoInstance

public MavenJavadocArchiver newAutoInstance(MavenModule module)
Description copied from class: MavenReporterDescriptor
Returns an instance used for automatic MavenReporter activation.

Some MavenReporters, such as MavenArtifactArchiver, can work just with the configuration in POM and don't need any additional Hudson configuration. They also don't need any explicit enabling/disabling as they can activate themselves by listening to the callback from the build (for example javadoc archiver can do the work in response to the execution of the javadoc target.)

Those MavenReporters should return a valid instance from this method. Such instance will then participate into the build and receive event callbacks.

Overrides:
newAutoInstance in class MavenReporterDescriptor


Copyright © 2004-2013. All Rights Reserved.