Package io.cucumber.messages.types
Class Attachment
- java.lang.Object
-
- io.cucumber.messages.types.Attachment
-
public final class Attachment extends Object
-
-
Constructor Summary
Constructors Constructor Description Attachment(String body, AttachmentContentEncoding contentEncoding, String fileName, String mediaType, Source source, String testCaseStartedId, String testStepId, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetBody()AttachmentContentEncodinggetContentEncoding()Optional<String>getFileName()StringgetMediaType()Optional<Source>getSource()Optional<String>getTestCaseStartedId()Optional<String>getTestStepId()Optional<String>getUrl()inthashCode()StringtoString()
-
-
-
Method Detail
-
getBody
public String getBody()
-
getContentEncoding
public AttachmentContentEncoding getContentEncoding()
-
getMediaType
public String getMediaType()
-
-