Package io.qameta.allure.attachment
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(T attachmentData, AttachmentRenderer<T> renderer) Adds the attachment.
-
Method Details
-
addAttachment
Adds the attachment.- Parameters:
attachmentData- the attachment datarenderer- the renderer used to turn attachment data into content
-