Class DefaultAttachmentContent

java.lang.Object
io.qameta.allure.attachment.DefaultAttachmentContent
All Implemented Interfaces:
AttachmentContent

public class DefaultAttachmentContent extends Object implements AttachmentContent
Supports Allure attachment integration with Allure reporting.

Use this type through the module that owns it when translating framework execution, result metadata, or attachments into Allure report data.

  • Constructor Details

    • DefaultAttachmentContent

      public DefaultAttachmentContent(String content, String contentType, String fileExtension)
      Creates a default attachment content with the supplied values.
      Parameters:
      content - the attachment content
      contentType - the attachment content type
      fileExtension - the attachment file extension
  • Method Details