Project

General

Profile

1
package eu.dnetlib.uoamonitorservice.configuration.properties;
2

    
3
import org.springframework.boot.context.properties.ConfigurationProperties;
4

    
5
@ConfigurationProperties("monitorservice.mail")
6
public class MailConfig {
7

    
8
    private String host;
9
    private String port;
10
    private String auth;
11
    private String from;
12
    private String username;
13
    private String password;
14

    
15

    
16
    public void setHost(String host) {
17
        this.host = host;
18
    }
19

    
20
    public void setPort(String port) {
21
        this.port = port;
22
    }
23

    
24
    public void setAuth(String auth) {
25
        this.auth = auth;
26
    }
27

    
28
    public void setFrom(String from) {
29
        this.from = from;
30
    }
31

    
32
    public void setUsername(String username) {
33
        this.username = username;
34
    }
35

    
36
    public void setPassword(String password) {
37
        this.password = password;
38
    }
39

    
40
    public String getHost() {
41
        return host;
42
    }
43

    
44
    public String getPort() {
45
        return port;
46
    }
47

    
48
    public String getAuth() {
49
        return auth;
50
    }
51

    
52
    public String getFrom() {
53
        return from;
54
    }
55

    
56
    public String getUsername() {
57
        return username;
58
    }
59

    
60
    public String getPassword() {
61
        return password;
62
    }
63

    
64

    
65
}
(2-2/4)