All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aQute.maven.dto.NotifierDTO Maven / Gradle / Ivy

There is a newer version: 7.1.0
Show newest version
package aQute.maven.dto;

import java.util.HashMap;
import java.util.Map;

/**
 * Configures one method for notifying users/developers when a build breaks.
 */
public class NotifierDTO {
	/**
	 * The mechanism used to deliver notifications
	 */
	public String				type			= "mail";

	/**
	 * Whether to send notifications on error
	 */
	public boolean				sendOnError		= true;

	/**
	 * Whether to send notifications on failure.
	 */

	public boolean				sendOnFailure	= true;

	/**
	 * Whether to send notifications on warning.
	 */

	public boolean				sendOnWarning	= true;
	/**
	 * Whether to send notifications on success.
	 */

	public boolean				sendOnSuccess	= true;

	/**
	 * Deprecated. Where to send the notification to - eg email address.
	 */

	@Deprecated
	public String				address;

	/**
	 * Extended configuration specific to this notifier goes here.
	 */

	public Map	configuration	= new HashMap<>();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy