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

fr.sii.ogham.sms.sender.SmsSender Maven / Gradle / Ivy

package fr.sii.ogham.sms.sender;

import java.util.Map;

import fr.sii.ogham.core.condition.Condition;
import fr.sii.ogham.core.message.Message;
import fr.sii.ogham.core.sender.MultiImplementationSender;
import fr.sii.ogham.core.sender.MessageSender;
import fr.sii.ogham.sms.message.Sms;

/**
 * Specialization of {@link MultiImplementationSender} for managing emails using
 * several implementations.
 * 
 * @author Aurélien Baudet
 *
 */
public class SmsSender extends MultiImplementationSender {

	public SmsSender() {
		super();
	}

	public SmsSender(Condition condition, MessageSender implementation) {
		super(condition, implementation);
	}

	public SmsSender(Map, MessageSender> implementations) {
		super(implementations);
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("SmsSender ").append(getImplementations().values());
		return builder.toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy