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


Constructor Summary
MailUtil.MailProps(java.util.Properties p)
           
MailUtil.MailProps(java.lang.String emailTo, java.lang.String smtpHost, java.lang.String emailSubject, java.lang.String emailFrom, boolean isEmailEnabled)
           
 
Method Summary
 java.lang.String getEmailFrom()
           
 java.lang.String getEmailSubject()
           
 java.lang.String getEmailTo()
           
 java.lang.String getSmtpHost()
           
 boolean isEmailEnabled()
           
 void setEmailEnabled(boolean isEmailEnabled)
           
 void setEmailFrom(java.lang.String emailFrom)
           
 void setEmailSubject(java.lang.String emailSubject)
           
 void setEmailTo(java.lang.String emailTo)
           
 void setSmtpHost(java.lang.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(java.util.Properties p)

MailUtil.MailProps

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

getEmailTo

public java.lang.String getEmailTo()

setEmailTo

public void setEmailTo(java.lang.String emailTo)

getSmtpHost

public java.lang.String getSmtpHost()

setSmtpHost

public void setSmtpHost(java.lang.String smtpHost)

getEmailSubject

public java.lang.String getEmailSubject()

setEmailSubject

public void setEmailSubject(java.lang.String emailSubject)

getEmailFrom

public java.lang.String getEmailFrom()

setEmailFrom

public void setEmailFrom(java.lang.String emailFrom)

isEmailEnabled

public boolean isEmailEnabled()

setEmailEnabled

public void setEmailEnabled(boolean isEmailEnabled)