hudson.maven.reporters
Class MavenMailer

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

public class MavenMailer
extends MavenReporter

Sends out an e-mail notification for Maven build result.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
static class MavenMailer.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 boolean dontNotifyEveryUnstableBuild
           
 boolean perModuleEmail
           
 String recipients
           
 boolean sendToIndividuals
           
 
Constructor Summary
MavenMailer()
           
 
Method Summary
 boolean end(MavenBuild build, Launcher launcher, BuildListener listener)
          Called after the maven execution finished and the result is determined.
 
Methods inherited from class hudson.maven.MavenReporter
enterModule, getAggregatedProjectAction, getDescriptor, getProjectAction, getProjectActions, leaveModule, postBuild, postExecute, preBuild, preExecute, reportGenerated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recipients

public String recipients
See Also:
Mailer

dontNotifyEveryUnstableBuild

public boolean dontNotifyEveryUnstableBuild

sendToIndividuals

public boolean sendToIndividuals

perModuleEmail

public boolean perModuleEmail
Constructor Detail

MavenMailer

public MavenMailer()
Method Detail

end

public boolean end(MavenBuild build,
                   Launcher launcher,
                   BuildListener listener)
            throws InterruptedException,
                   IOException
Description copied from class: MavenReporter
Called after the maven execution finished and the result is determined.

This method fires after MavenReporter.postBuild(MavenBuildProxy, MavenProject, BuildListener). Works like BuildStepCompatibilityLayer.perform(Build, Launcher, BuildListener).

Overrides:
end in class MavenReporter
Throws:
InterruptedException
IOException


Copyright © 2004-2013. All Rights Reserved.