Package io.qameta.allure.model
Class Attachment
java.lang.Object
io.qameta.allure.model.Attachment
- All Implemented Interfaces:
Serializable
The model object that used to link attachment files, stored in results directory,
to test results.
- Since:
- 2.0
- See Also:
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
value- the value- Returns:
- self for method chaining
-
getSource
Gets source.- Returns:
- the source
-
setSource
Sets source.- Parameters:
value- the value- Returns:
- self for method chaining
-
getType
Gets type.- Returns:
- the type
-
setType
Sets type.- Parameters:
value- the value- Returns:
- self for method chaining
-