hudson.plugins.testng
Class MavenPublisher

java.lang.Object
  extended by hudson.maven.MavenReporter
      extended by hudson.plugins.helpers.AbstractMavenReporterImpl
          extended by 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 Class Summary
static class MavenPublisher.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.plugins.helpers.AbstractMavenReporterImpl
AbstractMavenReporterImpl.MojoExecutionReportingMode
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static MavenPublisher.DescriptorImpl DESCRIPTOR
           
 
Constructor Summary
MavenPublisher()
           
 
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.plugins.helpers.AbstractMavenReporterImpl
autoconfPom, getExecutionMode, isAutoconfMojo, postExecute, preExecute
 
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
 

Field Detail

DESCRIPTOR

@Extension
public static final MavenPublisher.DescriptorImpl DESCRIPTOR
Constructor Detail

MavenPublisher

@DataBoundConstructor
public MavenPublisher()
Method Detail

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.