Class Allure.SetProperty
java.lang.Object
com.shaft.properties.internal.Allure.SetProperty
- All Implemented Interfaces:
EngineProperties.SetProperty
- Enclosing interface:
Allure
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccumulateHistory(boolean value) Overrides theallure.accumulateHistoryproperty at runtime.accumulateReports(boolean value) Overrides theallure.accumulateReportsproperty at runtime.automaticallyOpen(boolean value) Overrides theallure.automaticallyOpenproperty at runtime.cleanResultsDirectory(boolean value) Overrides theallure.cleanResultsDirectoryproperty at runtime.customLogo(String value) Overrides theallure.customLogoproperty at runtime.customTitle(String value) Overrides theallure.customTitleproperty at runtime.generateArchive(boolean value) Overrides theallure.generateArchiveproperty at runtime.
-
Constructor Details
-
SetProperty
public SetProperty()Creates a newSetPropertyinstance.
-
-
Method Details
-
automaticallyOpen
Overrides theallure.automaticallyOpenproperty at runtime.- Parameters:
value-trueto open the report automatically after execution- Returns:
- this
Allure.SetPropertyinstance for chaining
-
accumulateHistory
Overrides theallure.accumulateHistoryproperty at runtime.- Parameters:
value-trueto keep and accumulate Allure history across runs- Returns:
- this
Allure.SetPropertyinstance for chaining
-
accumulateReports
Overrides theallure.accumulateReportsproperty at runtime.- Parameters:
value-trueto keep previous report HTML files in the report directory- Returns:
- this
Allure.SetPropertyinstance for chaining
-
cleanResultsDirectory
Overrides theallure.cleanResultsDirectoryproperty at runtime.- Parameters:
value-trueto clean the Allure results directory before execution- Returns:
- this
Allure.SetPropertyinstance for chaining
-
generateArchive
Overrides theallure.generateArchiveproperty at runtime.- Parameters:
value-trueto generate a ZIP archive of the report after execution- Returns:
- this
Allure.SetPropertyinstance for chaining
-
customLogo
Overrides theallure.customLogoproperty at runtime.- Parameters:
value- a URL string pointing to the replacement logo image- Returns:
- this
Allure.SetPropertyinstance for chaining
-
customTitle
Overrides theallure.customTitleproperty at runtime.- Parameters:
value- the report title to display in the Allure report header- Returns:
- this
Allure.SetPropertyinstance for chaining
-