public class ConfigMailServer extends Object implements ConfigObjectWithId
<MailServer id="10000" name="SMTP" description="" from="me@example.com" prefix="{jira}" smtpPort="25" type="smtp" servername="smtp@example.com"/>
<MailServer id="10001" name="asas" description="asAS" from="bbain@altassan.com" prefix="WHAT" smtpPort="25" type="smtp" jndilocation="rhejw"/>
Modifier and Type | Class and Description |
---|---|
static class |
ConfigMailServer.Type |
Constructor and Description |
---|
ConfigMailServer() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
String |
getFrom() |
Long |
getId() |
String |
getJndiLocation() |
String |
getName() |
String |
getPassword() |
String |
getPort() |
Integer |
getPortNumber() |
String |
getPrefix() |
String |
getServerName() |
ConfigMailServer.Type |
getType() |
String |
getUserName() |
int |
hashCode() |
ConfigMailServer |
setDescription(String description) |
ConfigMailServer |
setFrom(String from) |
ConfigMailServer |
setId(Long id) |
ConfigMailServer |
setJndiLocation(String jndiLocation) |
ConfigMailServer |
setName(String name) |
ConfigMailServer |
setPassword(String password) |
ConfigMailServer |
setPort(Integer port) |
ConfigMailServer |
setPort(String port) |
ConfigMailServer |
setPrefix(String prefix) |
ConfigMailServer |
setServerName(String serverName) |
ConfigMailServer |
setType(ConfigMailServer.Type type) |
ConfigMailServer |
setType(String type) |
ConfigMailServer |
setUserName(String userName) |
String |
toString() |
public Long getId()
getId
in interface ConfigObjectWithId
public ConfigMailServer setId(Long id)
public String getName()
public ConfigMailServer setName(String name)
public String getDescription()
public ConfigMailServer setDescription(String description)
public String getFrom()
public ConfigMailServer setFrom(String from)
public String getPort()
public Integer getPortNumber()
public ConfigMailServer setPort(String port)
public ConfigMailServer setPort(Integer port)
public ConfigMailServer.Type getType()
public ConfigMailServer setType(ConfigMailServer.Type type)
public ConfigMailServer setType(String type)
public String getServerName()
public ConfigMailServer setServerName(String serverName)
public String getJndiLocation()
public ConfigMailServer setJndiLocation(String jndiLocation)
public String getUserName()
public ConfigMailServer setUserName(String userName)
public String getPassword()
public ConfigMailServer setPassword(String password)
public String getPrefix()
public ConfigMailServer setPrefix(String prefix)
Copyright © 2002-2021 Atlassian. All Rights Reserved.