public abstract class MavenReporterDescriptor extends hudson.model.Descriptor<MavenReporter>
Descriptor for MavenReporter.| Modifier | Constructor and Description |
|---|---|
protected |
MavenReporterDescriptor()
Infers the type of the corresponding
Describable from the outer class. |
protected |
MavenReporterDescriptor(Class<? extends MavenReporter> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<MavenReporterDescriptor> |
all()
Lists all the currently registered instances of
MavenReporterDescriptor. |
boolean |
hasConfigScreen()
Returns true if this descriptor has config.jelly.
|
MavenReporter |
newAutoInstance(MavenModule module)
Returns an instance used for automatic
MavenReporter activation. |
MavenReporter |
newInstance(org.kohsuke.stapler.StaplerRequest req)
Deprecated.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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, toMapprotected MavenReporterDescriptor(Class<? extends MavenReporter> clazz)
protected MavenReporterDescriptor()
Describable from the outer class.
This version works when you follow the common convention, where a descriptor
is written as the static nested class of the describable class.public MavenReporter newAutoInstance(MavenModule module)
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.
@Deprecated public MavenReporter newInstance(org.kohsuke.stapler.StaplerRequest req) throws hudson.model.Descriptor.FormException
the reporter has no configuration screen,
this method can safely return null, which is the default implementation.newInstance in class hudson.model.Descriptor<MavenReporter>hudson.model.Descriptor.FormExceptionpublic final boolean hasConfigScreen()
public static Collection<MavenReporterDescriptor> all()
MavenReporterDescriptor.Copyright © 2016–2017. All rights reserved.