Package com.atlassian.confluence.mail
Class ConfluenceMailServerBuilder
- java.lang.Object
-
- com.atlassian.confluence.mail.ConfluenceMailServerBuilder
-
public class ConfluenceMailServerBuilder extends Object
- Since:
- 8.3.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceMailServerBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfluenceMailServerBuilder
builder()
@NonNull com.atlassian.mail.server.MailServer
buildMailServer()
JmxSMTPMailServer
buildOutboundServer(String jndiName, String prefix, String fromName, boolean tlsRequired)
ConfluenceMailServerBuilder
emailAddress(String emailAddress)
ConfluenceMailServerBuilder
fromName(String fromName)
ConfluenceMailServerBuilder
hostName(String hostName)
ConfluenceMailServerBuilder
id(Long id)
ConfluenceMailServerBuilder
jndiName(String jndiName)
ConfluenceMailServerBuilder
mailProtocol(com.atlassian.mail.MailProtocol protocol)
ConfluenceMailServerBuilder
name(String name)
ConfluenceMailServerBuilder
password(String password)
ConfluenceMailServerBuilder
port(String port)
ConfluenceMailServerBuilder
prefix(String prefix)
ConfluenceMailServerBuilder
tlsRequired(boolean tlsRequired)
ConfluenceMailServerBuilder
username(String username)
-
-
-
Method Detail
-
id
public ConfluenceMailServerBuilder id(Long id)
-
name
public ConfluenceMailServerBuilder name(String name)
-
mailProtocol
public ConfluenceMailServerBuilder mailProtocol(com.atlassian.mail.MailProtocol protocol)
-
hostName
public ConfluenceMailServerBuilder hostName(String hostName)
-
port
public ConfluenceMailServerBuilder port(String port)
-
username
public ConfluenceMailServerBuilder username(String username)
-
password
public ConfluenceMailServerBuilder password(String password)
-
emailAddress
public ConfluenceMailServerBuilder emailAddress(String emailAddress)
-
jndiName
public ConfluenceMailServerBuilder jndiName(String jndiName)
-
prefix
public ConfluenceMailServerBuilder prefix(String prefix)
-
fromName
public ConfluenceMailServerBuilder fromName(String fromName)
-
tlsRequired
public ConfluenceMailServerBuilder tlsRequired(boolean tlsRequired)
-
builder
public static ConfluenceMailServerBuilder builder()
-
buildMailServer
public @NonNull com.atlassian.mail.server.MailServer buildMailServer()
-
buildOutboundServer
public JmxSMTPMailServer buildOutboundServer(String jndiName, String prefix, String fromName, boolean tlsRequired)
-
-