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

com.github.attemper.alarm.mail.MailConfig Maven / Gradle / Ivy

package com.github.attemper.alarm.mail;

import com.github.attemper.alarm.AlarmType;
import com.github.attemper.alarm.ConfigAdapter;

import java.util.Map;

public class MailConfig extends ConfigAdapter {

    protected String host;

    protected String username;

    protected String password;

    protected Map properties;

    public String getHost() {
        return host;
    }

    public MailConfig setHost(String host) {
        this.host = host;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public MailConfig setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public MailConfig setPassword(String password) {
        this.password = password;
        return this;
    }

    public Map getProperties() {
        return properties;
    }

    public MailConfig setProperties(Map properties) {
        this.properties = properties;
        return this;
    }

    @Override
    public int getIndex() {
        return AlarmType.MAIL.getValue();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy