Package hudson.maven.reporters
Class MavenJavadocArchiver.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<MavenReporter>
-
- hudson.maven.MavenReporterDescriptor
-
- hudson.maven.reporters.MavenJavadocArchiver.DescriptorImpl
-
- 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
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
MavenJavadocArchiver
newAutoInstance(MavenModule module)
Returns an instance used for automaticMavenReporter
activation.String
reportedFilePattern()
File patterns this reporter might create when running inside the Maven JVM.-
Methods inherited from class hudson.maven.MavenReporterDescriptor
all, hasConfigScreen, newInstance
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<MavenReporter>
-
newAutoInstance
public MavenJavadocArchiver newAutoInstance(MavenModule module)
Description copied from class:MavenReporterDescriptor
Returns an instance used for automaticMavenReporter
activation.Some
MavenReporter
s, such asMavenArtifactArchiver
, 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
MavenReporter
s should return a valid instance from this method. Such instance will then participate into the build and receive event callbacks.- Overrides:
newAutoInstance
in classMavenReporterDescriptor
-
reportedFilePattern
public String reportedFilePattern()
Description copied from class:MavenReporterDescriptor
File patterns this reporter might create when running inside the Maven JVM. Applies to usages fromMavenReporter.postBuild(hudson.maven.MavenBuildProxy, org.apache.maven.project.MavenProject, hudson.model.BuildListener)
and similar callbacks ofMavenBuildProxy.getRootDir()
,MavenBuildProxy.getProjectRootDir()
, andMavenBuildProxy.getModuleSetRootDir()
. (But notMavenBuildProxy.getArtifactsDir()
, which should not be used anyway.)- Overrides:
reportedFilePattern
in classMavenReporterDescriptor
- Returns:
- an Ant-style file pattern of files we expect to copy, or null if not applicable (default)
-
-