Interface IncomingMessageAnalyzerInput
-
- All Superinterfaces:
IncomingMessageInfo
,MessageInfo
public interface IncomingMessageAnalyzerInput extends IncomingMessageInfo
The IncomingMessageAnalyzerInput is an object to transport all relevant data for the extension pointIncomingMessageAnalyzer
.- Since:
- 11.15
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncomingBindings
getIncomingBindings()
Returns the IncomingBindings object, which may be used to pass any transient data to other Apps or to the knowledge base.IncomingMessageAnalyzerData
getIncomingMessageAnalyzerData()
Returns the current IncomingMessageAnalyzerData, containing several Decisions made by preceding Apps.IntermediateStorage
getTicketStorage()
Returns the storage of the ticket to be created for theIncomingMessage
.-
Methods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessage
-
Methods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketId
-
-
-
-
Method Detail
-
getTicketStorage
IntermediateStorage getTicketStorage()
Returns the storage of the ticket to be created for theIncomingMessage
. The data contained in the storage will be stored automatically when the ticket has been created successfully. Please note that all data contained in the storage will be discarded if the message processing is aborted or cancelled due to any other Apps or by decision of the knowledge base.- Returns:
- the
IntermediateStorage
to store any data associated with the ticket - Since:
- 11.15
-
getIncomingBindings
IncomingBindings getIncomingBindings()
Returns the IncomingBindings object, which may be used to pass any transient data to other Apps or to the knowledge base. These Bindings have already been passed to all implemnetors of the preceding extension pointIncomingMessageReceivedEventListener
. Please note that other Apps may read or write to the same IncomingBindings object to share the contained data between each other.
In the knowledge base you may access a key-value-pair of the Binding within action code by using the "get" function, e.g.: String value = get("myKey");- Returns:
- the
IncomingBindings
object to share transient data between other Apps and the knowledge base. - Since:
- 11.15
- See Also:
IncomingMessageReceivedEventListener
-
getIncomingMessageAnalyzerData
IncomingMessageAnalyzerData getIncomingMessageAnalyzerData()
Returns the current IncomingMessageAnalyzerData, containing several Decisions made by preceding Apps. This data may be used to create own Decisions for anIncomingMessageAnalyzerResult
.- Returns:
- the
IncomingMessageAnalyzerData
that contains allAnalyzerDecision
s already made by preceding Apps. - Since:
- 11.15
- See Also:
IncomingMessageAnalyzerResult
-
-