public class SendmailRule extends AbstractSequencerRule
setValue()
| Argument Keyword | Datatype | Default | Description |
|---|---|---|---|
| Subject | String | none | The subject to be used for mail. |
| Message | String | none | The message to be sent by mail. |
| Filename | File | none | The optional filename that assigns the file for message input. |
| Reference | String | none | The optional name of the reference to sent by mail. |
| Property | String | none | The optional name of the property to be sent by mail. |
AbstractRulecleanAfterGet, localNVUloggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
SendmailRule()
Create an literal rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
The execute method.
|
void |
init()
Initialize the work.
|
void |
setArguments(java.util.Properties args)
Set the arguments.
|
void |
setValue(NameValueUnit[][] nvuArr)
Set the named value to rule.
|
getValue, terminateexecute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toStringaddAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setContext, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getDescriptor, setContext, setDescriptorpublic void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractSequencerRuleInitializationFailedException - if the initialization fails.public void setArguments(java.util.Properties args)
throws InvalidArgumentException
setArguments in interface ImplementationIFsetArguments in class AbstractImplementationargs - the property mapInvalidArgumentException - if the arguments are not valid.public void execute()
throws ExecutableException
execute in interface ExecutableIFexecute in class AbstractSequencerRuleExecutableException - if execution fails.AbstractRule.execute()public void setValue(NameValueUnit[][] nvuArr)
nvu - The name value of the rule.