1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
package com.atlassian.mail.server; |
12 |
|
|
13 |
|
import alt.javax.mail.Session; |
14 |
|
import com.atlassian.mail.MailException; |
15 |
|
|
16 |
|
import javax.naming.NamingException; |
17 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
18 |
|
public interface MailServer |
19 |
|
{ |
20 |
|
Long getId(); |
21 |
|
|
22 |
|
String getName(); |
23 |
|
|
24 |
|
String getDescription(); |
25 |
|
|
26 |
|
String getType(); |
27 |
|
|
28 |
|
String getHostname(); |
29 |
|
|
30 |
|
String getUsername(); |
31 |
|
|
32 |
|
String getPassword(); |
33 |
|
|
34 |
|
Session getSession() throws NamingException, MailException; |
35 |
|
|
36 |
|
void setName(String name); |
37 |
|
|
38 |
|
void setDescription(String description); |
39 |
|
|
40 |
|
void setHostname(String hostname); |
41 |
|
|
42 |
|
void setUsername(String username); |
43 |
|
|
44 |
|
void setPassword(String password); |
45 |
|
|
46 |
|
void setId(Long id); |
47 |
|
} |