Package hudson.maven.reporters
Class MavenSiteArchiver.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<MavenReporter>
hudson.maven.MavenReporterDescriptor
hudson.maven.reporters.MavenSiteArchiver.DescriptorImpl
- Enclosing class:
- MavenSiteArchiver
@Extension
public static final class MavenSiteArchiver.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 -
Method Summary
Modifier and TypeMethodDescriptionnewAutoInstance(MavenModule module) Returns an instance used for automaticMavenReporteractivation.File patterns this reporter might create when running inside the Maven JVM.Methods inherited from class hudson.maven.MavenReporterDescriptor
all, hasConfigScreen, newInstanceMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<MavenReporter>
-
newAutoInstance
Description copied from class:MavenReporterDescriptorReturns an instance used for automaticMavenReporteractivation.Some
MavenReporters, 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
MavenReporters should return a valid instance from this method. Such instance will then participate into the build and receive event callbacks.- Overrides:
newAutoInstancein classMavenReporterDescriptor
-
reportedFilePattern
Description copied from class:MavenReporterDescriptorFile 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:
reportedFilePatternin classMavenReporterDescriptor- Returns:
- an Ant-style file pattern of files we expect to copy, or null if not applicable (default)
-