Interface AttachmentContent

All Known Implementing Classes:
DefaultAttachmentContent

public interface AttachmentContent
Defines the attachment content contract used by Allure attachment support.

Implement this interface when custom code needs to participate in the same integration flow as the built-in Allure adapter components.

  • Method Details

    • getContent

      String getContent()
      Returns the content.
      Returns:
      the content
    • getContentType

      String getContentType()
      Returns the content type.
      Returns:
      the content type
    • getFileExtension

      String getFileExtension()
      Returns the file extension.
      Returns:
      the file extension