java.lang.Object
io.qameta.allure.model.ScopeResult
- All Implemented Interfaces:
WithLinks,WithMetadata,WithParameters,Serializable
Represents a logical framework scope that links fixtures and metadata to tests.
Scopes are the adapter-facing concept for suites, classes, specs, files, describe blocks, or synthetic per-test fixture groups. They are converted to Allure container files only when writing fixture results.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets description.Gets description html.Gets fixtures.Gets labels.getLinks()Gets links.Gets parameters.getTests()Gets tests.getUuid()Gets uuid.inthashCode()setDescription(String value) Sets description.setDescriptionHtml(String value) Sets description html.setFixtures(List<ScopeFixtureResult> fixtures) Sets fixtures.Sets labels.Sets links.setParameters(List<Parameter> parameters) Sets parameters.Sets tests.Sets uuid.
-
Constructor Details
-
ScopeResult
public ScopeResult()
-
-
Method Details
-
getUuid
Gets uuid.- Returns:
- the uuid
-
setUuid
Sets uuid.- Parameters:
value- the value- Returns:
- self for method chaining
-
getTests
Gets tests.- Returns:
- the tests
-
setTests
Sets tests.- Parameters:
tests- the tests- Returns:
- self for method chaining
-
getFixtures
Gets fixtures.- Returns:
- the fixtures
-
setFixtures
Sets fixtures.- Parameters:
fixtures- the fixtures- Returns:
- self for method chaining
-
getLabels
Gets labels.- Specified by:
getLabelsin interfaceWithMetadata- Returns:
- the labels
-
setLabels
Sets labels.- Parameters:
labels- the labels- Returns:
- self for method chaining
-
getLinks
Gets links. -
setLinks
Sets links.- Parameters:
links- the links- Returns:
- self for method chaining
-
getParameters
Gets parameters.- Specified by:
getParametersin interfaceWithParameters- Returns:
- the parameters
-
setParameters
Sets parameters.- Parameters:
parameters- the parameters- Returns:
- self for method chaining
-
getDescription
Gets description.- Specified by:
getDescriptionin interfaceWithMetadata- Returns:
- the description
-
setDescription
Sets description.- Specified by:
setDescriptionin interfaceWithMetadata- Parameters:
value- the value- Returns:
- self for method chaining
-
getDescriptionHtml
Gets description html.- Specified by:
getDescriptionHtmlin interfaceWithMetadata- Returns:
- the description html
-
setDescriptionHtml
Sets description html.- Specified by:
setDescriptionHtmlin interfaceWithMetadata- Parameters:
value- the value- Returns:
- self for method chaining
-
equals
-
hashCode
public int hashCode()
-