org.opensha.commons.util
Class MailUtil.MailProps

java.lang.Object
  extended by org.opensha.commons.util.MailUtil.MailProps
Enclosing class:
MailUtil

public static class MailUtil.MailProps
extends Object


Constructor Summary
MailUtil.MailProps(Properties p)
           
MailUtil.MailProps(String emailTo, String smtpHost, String emailSubject, String emailFrom, boolean isEmailEnabled)
           
 
Method Summary
 String getEmailFrom()
           
 String getEmailSubject()
           
 String getEmailTo()
           
 String getSmtpHost()
           
 boolean isEmailEnabled()
           
 void setEmailEnabled(boolean isEmailEnabled)
           
 void setEmailFrom(String emailFrom)
           
 void setEmailSubject(String emailSubject)
           
 void setEmailTo(String emailTo)
           
 void setSmtpHost(String smtpHost)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailUtil.MailProps

public MailUtil.MailProps(Properties p)

MailUtil.MailProps

public MailUtil.MailProps(String emailTo,
                          String smtpHost,
                          String emailSubject,
                          String emailFrom,
                          boolean isEmailEnabled)
Method Detail

getEmailTo

public String getEmailTo()

setEmailTo

public void setEmailTo(String emailTo)

getSmtpHost

public String getSmtpHost()

setSmtpHost

public void setSmtpHost(String smtpHost)

getEmailSubject

public String getEmailSubject()

setEmailSubject

public void setEmailSubject(String emailSubject)

getEmailFrom

public String getEmailFrom()

setEmailFrom

public void setEmailFrom(String emailFrom)

isEmailEnabled

public boolean isEmailEnabled()

setEmailEnabled

public void setEmailEnabled(boolean isEmailEnabled)