java.lang.Object
org.altara.mars.plugin.mailnotify.MailNotifyPlugin
- All Implemented Interfaces:
- org.altara.mars.engine.NotificationListener, org.altara.mars.plugin.Plugin
- public class MailNotifyPlugin
- extends java.lang.Object
- implements org.altara.mars.plugin.Plugin, org.altara.mars.engine.NotificationListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
df
private static final java.text.DateFormat df
mailServer
private java.net.InetAddress mailServer
mailAddress
private java.lang.String mailAddress
fromAddress
private java.lang.String fromAddress
enabled
private boolean enabled
notifyBackUp
private boolean notifyBackUp
client
private SimpleSmtpClient client
MailNotifyPlugin
public MailNotifyPlugin()
getFirstAddress
private static java.lang.String getFirstAddress(java.lang.String addressList)
getElementName
public java.lang.String getElementName()
- Specified by:
getElementName in interface org.altara.mars.plugin.Plugin
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface org.altara.mars.plugin.Plugin
notifyStatusChanged
public void notifyStatusChanged(org.altara.mars.engine.StatusChangeEvent sce)
- Specified by:
notifyStatusChanged in interface org.altara.mars.engine.NotificationListener
sendMessage
private void sendMessage(org.altara.mars.engine.StatusChangeEvent sce,
java.lang.String subjdesc)
setServer
private void setServer(java.net.InetAddress mailServer)
getConfig
public org.jdom.Element getConfig()
- Specified by:
getConfig in interface org.altara.mars.plugin.Plugin
setConfig
public void setConfig(org.jdom.Element in)
throws java.net.UnknownHostException,
org.altara.mars.InvalidDocumentException
- Specified by:
setConfig in interface org.altara.mars.plugin.Plugin
getEditor
public org.altara.mars.swingui.Editor getEditor()
- Specified by:
getEditor in interface org.altara.mars.plugin.Plugin