Interface ExternalMessageSentAndTicketClosedEvent

All Superinterfaces:
Event, IncomingMessageInfo, MessageInfo, MessageSentAndTicketClosedEvent, MessageSentEvent, MessageSentTicketEvent, SentMessageInfo, TicketClosedEvent, TicketEvent, TicketProvider, TicketStateChangedEvent

public interface ExternalMessageSentAndTicketClosedEvent extends MessageSentAndTicketClosedEvent

This event is triggered when a message associated with a ticket has been answered by an external recipient and successfully been sent and the associated ticket has been closed within the novomind iAGENT core process.

Since:
10.0.120
  • Method Details

    • isFollowUp

      boolean isFollowUp()
      This method indicates whether this is the initial send and close operation on this ticket or if this is a follow up attempt to send the message e.g. due to a delivery failure.
      Returns:
      true if this is a follow up attempt to send the message
      Since:
      10.0.120
    • getTransactionCode

      Optional<TransactionCode> getTransactionCode()
      This method returns the optional TransactionCode that has been applied during the external forward operation of the ticket.
      Returns:
      the optional TransactionCode of the ticket.
      Since:
      10.0.120
    • getExternalAddress

      jakarta.mail.internet.InternetAddress getExternalAddress()
      This method returns the email address of the external recipient responsible for the ticket send and close operation.
      Returns:
      the email address of the external recipient.
      Since:
      10.0.120