Package hudson.maven.reporters
Class MavenTestJavadocArchiver
java.lang.Object
hudson.maven.MavenReporter
hudson.maven.reporters.AbstractMavenJavadocArchiver
hudson.maven.reporters.MavenTestJavadocArchiver
- All Implemented Interfaces:
ExtensionPoint
,MavenProjectActionBuilder
,Describable<MavenReporter>
,Serializable
Records the javadoc and archives it.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.maven.reporters.AbstractMavenJavadocArchiver
AbstractMavenJavadocArchiver.MavenJavadocAction
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkIsJavadocMojo
(MojoInfo mojo) return true if this mojo is a javadoc one sources or test sourcesgetAggregatedProjectAction
(MavenModuleSet project) Works likeMavenReporter.getProjectAction(MavenModule)
but works atMavenModuleSet
level.Collection<? extends Action>
getProjectActions
(MavenModule project) Equivalent ofBuildStep.getProjectActions(AbstractProject)
forMavenReporter
.Methods inherited from class hudson.maven.reporters.AbstractMavenJavadocArchiver
getTarget, postExecute, reportGenerated
Methods inherited from class hudson.maven.MavenReporter
end, enterModule, getDescriptor, getProjectAction, leaveModule, postBuild, preBuild, preExecute
-
Constructor Details
-
MavenTestJavadocArchiver
public MavenTestJavadocArchiver()
-
-
Method Details
-
getProjectActions
Description copied from class:MavenReporter
Equivalent ofBuildStep.getProjectActions(AbstractProject)
forMavenReporter
.Registers a transient action to
MavenModule
when it's rendered. This is useful if you'd like to display an action at the module level.Since this contributes a transient action, the returned
Action
will not be serialized.For this method to be invoked, your
MavenReporter
has to invokeMavenBuildProxy.registerAsProjectAction(MavenReporter)
during the build.- Specified by:
getProjectActions
in interfaceMavenProjectActionBuilder
- Specified by:
getProjectActions
in classAbstractMavenJavadocArchiver
- Returns:
- can be empty but never null.
-
getArchiveTargetPath
- Specified by:
getArchiveTargetPath
in classAbstractMavenJavadocArchiver
-
getAggregatedProjectAction
Description copied from class:MavenReporter
Works likeMavenReporter.getProjectAction(MavenModule)
but works atMavenModuleSet
level.For this method to be invoked, your
MavenReporter
has to invokeMavenBuildProxy.registerAsAggregatedProjectAction(MavenReporter)
during the build.- Specified by:
getAggregatedProjectAction
in classAbstractMavenJavadocArchiver
- Returns:
- null not to contribute an action, which is the default.
-
checkIsJavadocMojo
Description copied from class:AbstractMavenJavadocArchiver
return true if this mojo is a javadoc one sources or test sources- Specified by:
checkIsJavadocMojo
in classAbstractMavenJavadocArchiver
- Parameters:
mojo
- the Mojo to check- Returns:
true
if the Mojo runs javadoc
-