hudson.plugins.testng
Class MavenPublisher
java.lang.Object
hudson.maven.MavenReporter
hudson.plugins.helpers.AbstractMavenReporterImpl
hudson.plugins.testng.MavenPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.maven.MavenReporter>, java.io.Serializable
public class MavenPublisher
- extends AbstractMavenReporterImpl
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
hudson.maven.MavenReporterDescriptor |
getDescriptor()
|
hudson.model.Action |
getProjectAction(hudson.maven.MavenModule module)
|
protected boolean |
isExecutingMojo(hudson.maven.MojoInfo mojo)
Returns true if this is the mojo that corresponds with execution of the task we want to report on. |
protected Ghostwriter |
newGhostwriter(org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo)
Creates the configured Ghostwriter based on the information from the pom and mojo. |
| Methods inherited from class hudson.maven.MavenReporter |
end, enterModule, getAggregatedProjectAction, leaveModule, postBuild, preBuild, reportGenerated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final MavenPublisher.DescriptorImpl DESCRIPTOR
MavenPublisher
@DataBoundConstructor
public MavenPublisher()
isExecutingMojo
protected boolean isExecutingMojo(hudson.maven.MojoInfo mojo)
- Description copied from class:
AbstractMavenReporterImpl
- Returns
true if this is the mojo that corresponds with execution of the task we want to report on.
- Specified by:
isExecutingMojo in class AbstractMavenReporterImpl
- Parameters:
mojo - The mojo execution.
- Returns:
true if this is the mojo that corresponds with execution of the task we want to report on.
newGhostwriter
protected Ghostwriter newGhostwriter(org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo)
- Description copied from class:
AbstractMavenReporterImpl
- Creates the configured Ghostwriter based on the information from the pom and mojo. Will only be called when
isExecutingMojo returns true.
- Specified by:
newGhostwriter in class AbstractMavenReporterImpl
- Parameters:
pom - The pom.mojo - The mojo for which isExecutingMojo returned true.
- Returns:
- The configured Ghostwriter instance.
getProjectAction
public hudson.model.Action getProjectAction(hudson.maven.MavenModule module)
- Overrides:
getProjectAction in class hudson.maven.MavenReporter
getDescriptor
public hudson.maven.MavenReporterDescriptor getDescriptor()
-
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.maven.MavenReporter>- Overrides:
getDescriptor in class hudson.maven.MavenReporter
Copyright © 2010. All Rights Reserved.