| Package | Description |
|---|---|
| de.aristaflow.adept2.core.eventmanager.mailevents |
| Modifier and Type | Class and Description |
|---|---|
class |
MailEventImpl
An event for mails, that is, an event is produced and sent as soon as a mail
is stored to a specific folder.
|
| Modifier and Type | Method and Description |
|---|---|
protected MailEvent |
FilteredMailEventSource.createMailEvent(javax.mail.Message message)
Creates a
MailEvent for the designated message. |
protected MailEvent |
MailEventSource.createMailEvent(javax.mail.Message message)
Creates a
MailEvent for the designated message. |
| Modifier and Type | Method and Description |
|---|---|
protected static UDTValue |
MailTools.attachmentsToUDT(Parameter parameter,
MailEvent event,
java.io.File fileStore,
java.util.logging.Logger logger)
Creates a UDT value for the designated parameter with all attachments of
the message of the designated mail event.
|
protected static java.lang.String |
MailTools.createFileNameForEvent(MailEvent event,
boolean unique)
Creates a file name for storing a message.
|
protected static UDTValue |
MailTools.getMessageAsFileUDT(MailEvent event,
java.io.File fileStore,
java.util.logging.Logger logger)
Creates a file for the designated event and returns it as
UDTValue. |
protected void |
MailEventActivityHandler.handleField(java.lang.String field,
Parameter param,
MailEvent event,
ActivityData data)
Gets the designated field from the message of the designated mail event and
stores the value for the output parameter in the designated data context.
|
protected void |
MailEventActivityHandler.handleRegEx(java.lang.String regex,
Parameter param,
MailEvent event,
ActivityData data)
Applies the designated regular expression to (the string representation of)
the content of the message of the designated mail event and stores the
match for the output parameter in the designated data context.
|
protected boolean |
MailEventSource.nextHandler(MailEvent event,
boolean consumed,
boolean concurrent) |
protected void |
InstanceStartEventHandler.processMailEvent(MailEvent event,
java.util.Collection<? extends Parameter> inParams,
InstanceDataContainer dataContainer)
Processes the mail of the designated event and sets the values of the input
parameters in the designated data container.
|
protected static java.io.File |
MailTools.writeMessageToFile(MailEvent event,
boolean intermediate,
java.io.File fileStore,
java.util.logging.Logger logger)
Writes the mail from the designated mail event to a file with an
appropriate file name.
|