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. |
AbstractRule
cleanAfterGet, localNVU
loggerName, postMethods, preMethods, sessionRef
arguments, 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, terminate
execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toString
addAttributesToNameValueUnitArray, 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, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext, getDescriptor, setContext, setDescriptor
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractSequencerRule
InitializationFailedException
- if the initialization fails.public void setArguments(java.util.Properties args) throws InvalidArgumentException
setArguments
in interface ImplementationIF
setArguments
in class AbstractImplementation
args
- the property mapInvalidArgumentException
- if the arguments are not valid.public void execute() throws ExecutableException
execute
in interface ExecutableIF
execute
in class AbstractSequencerRule
ExecutableException
- if execution fails.AbstractRule.execute()
public void setValue(NameValueUnit[][] nvuArr)
nvu
- The name value of the rule.