Class ScopeResult

java.lang.Object
io.qameta.allure.model.ScopeResult
All Implemented Interfaces:
WithLinks, WithMetadata, WithParameters, Serializable

public class ScopeResult extends Object implements Serializable, WithMetadata
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 Details

    • ScopeResult

      public ScopeResult()
  • Method Details

    • getUuid

      public String getUuid()
      Gets uuid.
      Returns:
      the uuid
    • setUuid

      public ScopeResult setUuid(String value)
      Sets uuid.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getTests

      public List<String> getTests()
      Gets tests.
      Returns:
      the tests
    • setTests

      public ScopeResult setTests(List<String> tests)
      Sets tests.
      Parameters:
      tests - the tests
      Returns:
      self for method chaining
    • getFixtures

      public List<ScopeFixtureResult> getFixtures()
      Gets fixtures.
      Returns:
      the fixtures
    • setFixtures

      public ScopeResult setFixtures(List<ScopeFixtureResult> fixtures)
      Sets fixtures.
      Parameters:
      fixtures - the fixtures
      Returns:
      self for method chaining
    • getLabels

      public List<Label> getLabels()
      Gets labels.
      Specified by:
      getLabels in interface WithMetadata
      Returns:
      the labels
    • setLabels

      public ScopeResult setLabels(List<Label> labels)
      Sets labels.
      Parameters:
      labels - the labels
      Returns:
      self for method chaining
    • getLinks

      public List<Link> getLinks()
      Gets links.
      Specified by:
      getLinks in interface WithLinks
      Returns:
      the links
    • setLinks

      public ScopeResult setLinks(List<Link> links)
      Sets links.
      Parameters:
      links - the links
      Returns:
      self for method chaining
    • getParameters

      public List<Parameter> getParameters()
      Gets parameters.
      Specified by:
      getParameters in interface WithParameters
      Returns:
      the parameters
    • setParameters

      public ScopeResult setParameters(List<Parameter> parameters)
      Sets parameters.
      Parameters:
      parameters - the parameters
      Returns:
      self for method chaining
    • getDescription

      public String getDescription()
      Gets description.
      Specified by:
      getDescription in interface WithMetadata
      Returns:
      the description
    • setDescription

      public ScopeResult setDescription(String value)
      Sets description.
      Specified by:
      setDescription in interface WithMetadata
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getDescriptionHtml

      public String getDescriptionHtml()
      Gets description html.
      Specified by:
      getDescriptionHtml in interface WithMetadata
      Returns:
      the description html
    • setDescriptionHtml

      public ScopeResult setDescriptionHtml(String value)
      Sets description html.
      Specified by:
      setDescriptionHtml in interface WithMetadata
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object