hudson.maven.reporters
Class BuildInfoRecorder

java.lang.Object
  extended by hudson.maven.MavenReporter
      extended by hudson.maven.reporters.BuildInfoRecorder
All Implemented Interfaces:
ExtensionPoint, MavenProjectActionBuilder, Describable<MavenReporter>, Serializable

public class BuildInfoRecorder
extends MavenReporter

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
static class BuildInfoRecorder.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildInfoRecorder()
           
 
Method Summary
 boolean preExecute(MavenBuildProxy build, org.apache.maven.project.MavenProject pom, MojoInfo mojo, BuildListener listener)
          Called before execution of a single mojo.
 
Methods inherited from class hudson.maven.MavenReporter
end, enterModule, getAggregatedProjectAction, getDescriptor, getProjectAction, getProjectActions, leaveModule, postBuild, postExecute, preBuild, reportGenerated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildInfoRecorder

public BuildInfoRecorder()
Method Detail

preExecute

public boolean preExecute(MavenBuildProxy build,
                          org.apache.maven.project.MavenProject pom,
                          MojoInfo mojo,
                          BuildListener listener)
                   throws InterruptedException,
                          IOException
Description copied from class: MavenReporter
Called before execution of a single mojo.

When this method is invoked, MojoInfo.mojo is fully injected with its configuration values.

Overrides:
preExecute in class MavenReporter
Returns:
See MavenReporter.preBuild(hudson.maven.MavenBuildProxy, org.apache.maven.project.MavenProject, hudson.model.BuildListener)
Throws:
InterruptedException - See MavenReporter.preBuild(hudson.maven.MavenBuildProxy, org.apache.maven.project.MavenProject, hudson.model.BuildListener)
IOException - See MavenReporter.preBuild(hudson.maven.MavenBuildProxy, org.apache.maven.project.MavenProject, hudson.model.BuildListener)


Copyright © 2004-2013. All Rights Reserved.