public class Emailer extends SimpleManipulator
SimpleDataSource.NameEditorDataDataSource.Writable| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
cvsRev |
UPDATE_DISPLAYED_VALUE, VALUE_INPUTcustomTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebaseautoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo| Constructor and Description |
|---|
Emailer()
Generic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDateFormatter()
This is the date formatter used (by java.text.SimpleDataFormatter) to
display the date (if setDate is true).
|
java.lang.String |
getFrom()
Gets the address to send we sent from.
|
java.lang.String |
getHost()
This is the SMTP Host name.
|
java.lang.String |
getMessage()
This is a string thats added to each email message.
|
java.lang.String |
getPassword() |
int |
getPort()
Returns the SMTP port;
|
boolean |
getSendDate()
This is if we should send the date.
|
boolean |
getSendProperties()
This is if we should send the values properties.
|
boolean |
getSendTag()
This is if we should send the tag name.
|
boolean |
getSendValue()
This is if we should send the values.
|
int |
getStaticLocationFor(java.lang.String name)
This is used for StaticMethodListener interface.
|
java.lang.String |
getSubject()
This is the subject line to send.
|
java.lang.String |
getTo()
This is the address to send to.
|
java.lang.String |
getUserName() |
boolean |
isEnabled() |
boolean |
isMailAsAttachment() |
boolean |
isStarttls() |
void |
messageString(java.lang.String msg)
Logs informational/debug messages.
|
void |
setDateFormatter(java.lang.String newValue)
This is the date formatter used (by java.text.SimpleDataFormatter) to
display the date (if setDate is true).
|
void |
setEnabled(boolean enabled) |
void |
setFrom(java.lang.String newValue)
This is the address to send we sent from.
|
void |
setHost(java.lang.String newValue)
This is the SMTP Host name.
|
void |
setMailAsAttachment(boolean mailAsAttachment) |
void |
setMessage(java.lang.String newValue)
This is a string thats added to each email message.
|
void |
setPassword(java.lang.String password) |
void |
setPort(int port)
Sets the port for the SMTP server.
|
void |
setSendDate(boolean newValue)
This is if we should send the date.
|
void |
setSendProperties(boolean newValue)
This is if we should send the values properties.
|
void |
setSendTag(boolean newValue)
This is if we should send the tag name.
|
void |
setSendValue(boolean newValue)
This is if we should send the values.
|
void |
setStarttls(boolean starttls) |
void |
setSubject(java.lang.String newValue)
This is the subject line to send.
|
void |
setTo(java.lang.String newValue)
This is the address to send to.
|
void |
setUserName(java.lang.String userName) |
void |
valueChanged(int loc,
ValueChangedEvent e)
This is used for StaticMethodListener interface.
|
void |
valueInput(ValueChangedEvent e)
This is where all events come in.
|
getDefaultQualityForLocationgetInPortNames, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toStringaddConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, start, stop, tick, VIBEventaddVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmIpublic static final java.lang.String cvsRev
public java.lang.String getDateFormatter()
setDateFormatter,
setSendDatepublic java.lang.String getFrom()
setFrompublic java.lang.String getHost()
setHostpublic java.lang.String getMessage()
setMessagepublic java.lang.String getPassword()
public int getPort()
public boolean getSendDate()
setSendDatepublic boolean getSendProperties()
getSendPropertiespublic boolean getSendTag()
setSendTagpublic boolean getSendValue()
setSendPropertiespublic int getStaticLocationFor(java.lang.String name)
throws BadParameterException
getStaticLocationFor in class ManipulatorBadParameterExceptionpublic java.lang.String getSubject()
setSubjectpublic java.lang.String getTo()
setTopublic java.lang.String getUserName()
public boolean isEnabled()
public boolean isMailAsAttachment()
public boolean isStarttls()
public void messageString(java.lang.String msg)
public void setDateFormatter(java.lang.String newValue)
getDateFormatter,
setSendDatepublic void setEnabled(boolean enabled)
enabled - the enabled to setpublic void setFrom(java.lang.String newValue)
getFrompublic void setHost(java.lang.String newValue)
getHostpublic void setMailAsAttachment(boolean mailAsAttachment)
mailAsAttachment - the mailAsAttachment to setpublic void setMessage(java.lang.String newValue)
getMessagepublic void setPassword(java.lang.String password)
password - the password to setpublic void setPort(int port)
port - the SMTP portpublic void setSendDate(boolean newValue)
getSendDatepublic void setSendProperties(boolean newValue)
getSendPropertiespublic void setSendTag(boolean newValue)
getSendTagpublic void setSendValue(boolean newValue)
getSendPropertiespublic void setStarttls(boolean starttls)
starttls - the starttls to setpublic void setSubject(java.lang.String newValue)
getSubjectpublic void setTo(java.lang.String newValue)
getTopublic void setUserName(java.lang.String userName)
userName - the userName to setpublic void valueChanged(int loc,
ValueChangedEvent e)
throws VIBUpdateFailedException,
BadParameterException
valueChanged in class ManipulatorVIBUpdateFailedExceptionBadParameterExceptionpublic void valueInput(ValueChangedEvent e) throws VIBUpdateFailedException
valueInput in class Manipulatore - The ValueChangedEvent that the bean or data source has sent.VIBUpdateFailedExceptionsendMessage,
shouldWeEmailCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.