Class DefaultLaunchResults

java.lang.Object
io.qameta.allure.DefaultLaunchResults
All Implemented Interfaces:
io.qameta.allure.core.LaunchResults

public class DefaultLaunchResults extends Object implements io.qameta.allure.core.LaunchResults
Default implementation of LaunchResults. Stores all the results into memory.
Since:
2.0
  • Constructor Details

    • DefaultLaunchResults

      public DefaultLaunchResults(Set<io.qameta.allure.entity.TestResult> results, Map<Path,io.qameta.allure.entity.Attachment> attachments, Map<String,Object> extra)
  • Method Details

    • getAllResults

      public Set<io.qameta.allure.entity.TestResult> getAllResults()
      Specified by:
      getAllResults in interface io.qameta.allure.core.LaunchResults
    • getAttachments

      public Map<Path,io.qameta.allure.entity.Attachment> getAttachments()
      Specified by:
      getAttachments in interface io.qameta.allure.core.LaunchResults
    • getExtra

      public <T> Optional<T> getExtra(String name)
      Specified by:
      getExtra in interface io.qameta.allure.core.LaunchResults