Package io.qameta.allure.model
Class AttachmentType
java.lang.Object
io.qameta.allure.model.AttachmentType
Common attachment media types and file extensions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttachmentTypePredefined attachment type for html content.static final AttachmentTypePredefined attachment type for jpeg content.static final AttachmentTypePredefined attachment type for octet stream content.static final AttachmentTypePredefined attachment type for png content.static final AttachmentTypePredefined attachment type for text content.static final AttachmentTypePredefined attachment type for webm content.static final AttachmentTypePredefined attachment type for zip content. -
Method Summary
Modifier and TypeMethodDescriptionReturns the extension.Returns the media type.
-
Field Details
-
PNG
Predefined attachment type for png content. -
JPEG
Predefined attachment type for jpeg content. -
TEXT
Predefined attachment type for text content. -
HTML
Predefined attachment type for html content. -
ZIP
Predefined attachment type for zip content. -
WEBM
Predefined attachment type for webm content. -
OCTET_STREAM
Predefined attachment type for octet stream content.
-
-
Method Details
-
getMediaType
Returns the media type.- Returns:
- the media type
-
getExtension
Returns the extension.- Returns:
- the extension
-