Interface AttachmentProcessor<T extends AttachmentData>

Type Parameters:
T - the type of attachment data.
All Known Implementing Classes:
DefaultAttachmentProcessor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AttachmentProcessor<T extends AttachmentData>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAttachment(T attachmentData, AttachmentRenderer<T> renderer)
    Adds the attachment.
  • Method Details

    • addAttachment

      void addAttachment(T attachmentData, AttachmentRenderer<T> renderer)
      Adds the attachment.
      Parameters:
      attachmentData - the attachment data
      renderer - the renderer used to turn attachment data into content