hudson.maven.reporters
Class ReportCollector
java.lang.Object
hudson.maven.MavenReporter
hudson.maven.reporters.ReportCollector
- All Implemented Interfaces:
- ExtensionPoint, MavenProjectActionBuilder, Describable<MavenReporter>, Serializable
public class ReportCollector
- extends MavenReporter
Watches out for executions of MavenReport mojos and record its output.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportCollector
public ReportCollector()
postExecute
public boolean postExecute(MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
MojoInfo mojo,
BuildListener listener,
Throwable error)
throws InterruptedException,
IOException
- Description copied from class:
MavenReporter
- Called after execution of a single mojo.
See MavenReporter.preExecute(hudson.maven.MavenBuildProxy, org.apache.maven.project.MavenProject, hudson.maven.MojoInfo, hudson.model.BuildListener) for the contract.
- Overrides:
postExecute in class MavenReporter
error - If mojo execution failed with MojoFailureException or
MojoExecutionException, this method is still invoked
with those error objects.
If mojo executed successfully, this parameter is null.
- Throws:
InterruptedException
IOException
leaveModule
public boolean leaveModule(MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
BuildListener listener)
throws InterruptedException,
IOException
- Description copied from class:
MavenReporter
- Called when the build leaves the current
MavenProject.
- Overrides:
leaveModule in class MavenReporter
- Throws:
InterruptedException
IOException- See Also:
MavenReporter.enterModule(hudson.maven.MavenBuildProxy, org.apache.maven.project.MavenProject, hudson.model.BuildListener)
getDescriptor
public ReportCollector.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface Describable<MavenReporter>- Overrides:
getDescriptor in class MavenReporter
Copyright © 2004-2011. All Rights Reserved.