Class Allure.SetProperty

java.lang.Object
com.shaft.properties.internal.Allure.SetProperty
All Implemented Interfaces:
EngineProperties.SetProperty
Enclosing interface:
Allure

public static class Allure.SetProperty extends Object implements EngineProperties.SetProperty
Fluent builder that allows programmatic override of individual Allure configuration properties. All setter methods return this to support method chaining.

Example:

SHAFT.Properties.allure.set()
    .automaticallyOpen(false)
    .accumulateHistory(true)
    .customTitle("Regression Suite");
  • Constructor Details

    • SetProperty

      public SetProperty()
      Creates a new SetProperty instance.
  • Method Details

    • automaticallyOpen

      public Allure.SetProperty automaticallyOpen(boolean value)
      Overrides the allure.automaticallyOpen property at runtime.
      Parameters:
      value - true to open the report automatically after execution
      Returns:
      this Allure.SetProperty instance for chaining
    • accumulateHistory

      public Allure.SetProperty accumulateHistory(boolean value)
      Overrides the allure.accumulateHistory property at runtime.
      Parameters:
      value - true to keep and accumulate Allure history across runs
      Returns:
      this Allure.SetProperty instance for chaining
    • accumulateReports

      public Allure.SetProperty accumulateReports(boolean value)
      Overrides the allure.accumulateReports property at runtime.
      Parameters:
      value - true to keep previous report HTML files in the report directory
      Returns:
      this Allure.SetProperty instance for chaining
    • cleanResultsDirectory

      public Allure.SetProperty cleanResultsDirectory(boolean value)
      Overrides the allure.cleanResultsDirectory property at runtime.
      Parameters:
      value - true to clean the Allure results directory before execution
      Returns:
      this Allure.SetProperty instance for chaining
    • generateArchive

      public Allure.SetProperty generateArchive(boolean value)
      Overrides the allure.generateArchive property at runtime.
      Parameters:
      value - true to generate a ZIP archive of the report after execution
      Returns:
      this Allure.SetProperty instance for chaining
    • customLogo

      public Allure.SetProperty customLogo(String value)
      Overrides the allure.customLogo property at runtime.
      Parameters:
      value - a URL string pointing to the replacement logo image
      Returns:
      this Allure.SetProperty instance for chaining
    • customTitle

      public Allure.SetProperty customTitle(String value)
      Overrides the allure.customTitle property at runtime.
      Parameters:
      value - the report title to display in the Allure report header
      Returns:
      this Allure.SetProperty instance for chaining