
hudson.tasks.mail.BuildResultMail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hudson-core Show documentation
Show all versions of hudson-core Show documentation
Contains the core Hudson code and view files to render HTML.
The newest version!
/*******************************************************************************
*
* Copyright (c) 2011 Oracle Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Anton Kozak
*
*******************************************************************************/
package hudson.tasks.mail;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
/**
* Interface describes mail with project build result.
*/
public interface BuildResultMail {
/**
* Returns prepared mail.
*
* @param build build.
* @param listener listener.
*
* @return prepared mail.
* @throws MessagingException exception if any.
* @throws InterruptedException exception if any.
*/
MimeMessage getMail(AbstractBuild, ?> build, BuildListener listener)
throws MessagingException, InterruptedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy