com.atlassian.jira.functest.config.mail
Class ConfigMailServer

java.lang.Object
  extended by 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

Nested Class Summary
static class ConfigMailServer.Type
           
 
Constructor Summary
ConfigMailServer()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigMailServer

public ConfigMailServer()
Method Detail

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.