Class DeliveryFailureMessageReceivedResult
java.lang.Object
com.novomind.ecom.api.imail.core.result.DeliveryFailureMessageReceivedResult
The DeliveryFailureMessageReceivedResult can be used to determine the handling
of the delivery failure message by the novomind iAGENT system.
Therefore the DeliveryFailureAction of the DeliveryFailureMessageReceivedResult
has to be set appropriately.
- Since:
- 11.27
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The DeliveryFailureAction specifies the different actions that are available in the novomind iAGENT system for the handling of delivery failure messages. -
Constructor Summary
ConstructorsConstructorDescriptionThis constructor creates a new DeliveryFailureMessageReceivedResult with an empty DeliveryFailureAction. -
Method Summary
Modifier and TypeMethodDescriptionReturns theOptional
DeliveryFailureAction of this DeliveryFailureMessageReceivedResult.setDeliveryFailureAction
(DeliveryFailureMessageReceivedResult.DeliveryFailureAction deliveryFailureAction) Sets the DeliveryFailureAction to this DeliveryFailureMessageReceivedResult.
-
Constructor Details
-
DeliveryFailureMessageReceivedResult
public DeliveryFailureMessageReceivedResult()This constructor creates a new DeliveryFailureMessageReceivedResult with an empty DeliveryFailureAction. If the created DeliveryFailureMessageReceivedResult is returned directly, the delivery failure message will be processed as defined by the configuration of the novomind iAGENT system. By setting a DeliveryFailureAction to this DeliveryFailureMessageReceivedResult the action that takes place in the novomind iAGENT system can be changed.
-
-
Method Details
-
setDeliveryFailureAction
public DeliveryFailureMessageReceivedResult.DeliveryFailureAction setDeliveryFailureAction(DeliveryFailureMessageReceivedResult.DeliveryFailureAction deliveryFailureAction) Sets the DeliveryFailureAction to this DeliveryFailureMessageReceivedResult. The DeliveryFailureAction determines the further handling of the delivery failure message by the novomind iAGENT system. The action REACTIVATE_TICKET is only valid if this delivery failure message has a sent ticket associated. Setting a non applicable DeliveryFailureAction leads to error output in the log files of the novomind iAGENT system. The handling of the delivery failure will not be changed.- Parameters:
deliveryFailureAction
- aDeliveryFailureMessageReceivedResult.DeliveryFailureAction
- Returns:
- the set DeliveryFailureAction
- Since:
- 11.27
-
getDeliveryFailureAction
public Optional<DeliveryFailureMessageReceivedResult.DeliveryFailureAction> getDeliveryFailureAction()Returns theOptional
DeliveryFailureAction of this DeliveryFailureMessageReceivedResult. The DeliveryFailureAction determines the further handling of the delivery failure message by the novomind iAGENT system. By default the returnedOptional
is empty.- Returns:
- an
Optional
with the delivery failure action, or an emptyOptional
if normal processing of the delivery failure message should take place. - Since:
- 11.27
-