Package io.qameta.allure.model
Class Parameter
java.lang.Object
io.qameta.allure.model.Parameter
- All Implemented Interfaces:
Serializable
The model object that could be used to pass information about test parameters to test results.
Note that parameters with empty (blank) name will be omitted during report generation.
Parameters are used in history key generation for test results. In general words, if test's results have the same parameters they will be considered as retries. But if at least one parameter is differ (or, for example, missed) results will be considered as separate results.
You can exclude parameters from history key calculation by setting excluded property
to true.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets excluded.getMode()Gets mode.getName()Gets name.getValue()Gets value.inthashCode()setExcluded(Boolean excluded) Sets excluded.setMode(Parameter.Mode mode) Sets mode.Sets name.Sets value.
-
Constructor Details
-
Parameter
public Parameter()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getValue
Gets value.- Returns:
- the value
-
setValue
Sets value.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getExcluded
Gets excluded.- Returns:
- the excluded
-
setExcluded
Sets excluded.- Parameters:
excluded- the excluded- Returns:
- self for method chaining.
-
getMode
Gets mode.- Returns:
- the mode
-
setMode
Sets mode.- Parameters:
mode- the mode- Returns:
- self for method chaining.
-
equals
-
hashCode
public int hashCode()
-