com.atlassian.jira.functest.config.mail
Class ConfigMailServer
java.lang.Object
com.atlassian.jira.functest.config.mail.ConfigMailServer
- All Implemented Interfaces:
- ConfigObjectWithId
public class ConfigMailServer
- extends Object
- implements ConfigObjectWithId
Represents a mail server configuration within JIRA XML backup.
<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"/>
- Since:
- v4.0
ConfigMailServer
public ConfigMailServer()
getId
public Long getId()
- Specified by:
getId
in interface ConfigObjectWithId
setId
public ConfigMailServer setId(Long id)
getName
public String getName()
setName
public ConfigMailServer setName(String name)
getDescription
public String getDescription()
setDescription
public ConfigMailServer setDescription(String description)
getFrom
public String getFrom()
setFrom
public ConfigMailServer setFrom(String from)
getPort
public String getPort()
getPortNumber
public Integer getPortNumber()
setPort
public ConfigMailServer setPort(String port)
setPort
public ConfigMailServer setPort(Integer port)
getType
public ConfigMailServer.Type getType()
setType
public ConfigMailServer setType(ConfigMailServer.Type type)
setType
public ConfigMailServer setType(String type)
getServerName
public String getServerName()
setServerName
public ConfigMailServer setServerName(String serverName)
getJndiLocation
public String getJndiLocation()
setJndiLocation
public ConfigMailServer setJndiLocation(String jndiLocation)
getUserName
public String getUserName()
setUserName
public ConfigMailServer setUserName(String userName)
getPassword
public String getPassword()
setPassword
public ConfigMailServer setPassword(String password)
getPrefix
public String getPrefix()
setPrefix
public ConfigMailServer setPrefix(String prefix)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2011 Atlassian. All Rights Reserved.